Skip to content

@pondoknusa/http ​

HTTP router and middleware for Pondoknusa

Install ​

bash
npm install @pondoknusa/http

Metadata ​

FieldValue
Version6.0.0
Sourcepackages/http
CategoryKernel & HTTP
Node.js>=26

Public exports ​

From the package entry point (dist/index.d.ts). Deep imports are not supported.

Values ​

  • AI_CRAWLERS
  • ClientRequest
  • ClientResponse
  • CompressionOptions
  • HYDRATION_SCRIPT_ID
  • Http
  • HttpException
  • HttpFactory
  • HydrationIslandPayload
  • HydrationManifestPayload
  • HydrationManifestSource
  • JsonResource
  • MethodNotAllowedException
  • MiddlewareNotFoundException
  • MiddlewareRegistry
  • NotFoundHttpException
  • PartialReloadOptions
  • PendingRequest
  • PondoknusaRequest
  • ResourceCollection
  • Response
  • ResponseFactory
  • ResponseSequence
  • ResponseStub
  • RouteBinding
  • RouteBindingResolver
  • RouteCacheManifest
  • RouteGroupBuilder
  • RouteGroupOptions
  • RouteListEntry
  • RouteNotFoundException
  • Router
  • SignedUrlOptions
  • SseEvent
  • SsrDocumentOptions
  • SsrStreamOptions
  • TurboStreamAction
  • acceptAllows
  • applyAgenticResponse
  • applyPartialReloadHeaders
  • applyRouteGroupOptions
  • attachRequestPathname
  • buildApiCatalog
  • buildJsonLd
  • buildLlmsFullTxt
  • buildLlmsTxt
  • buildRobotsTxt
  • buildSitemapMarkdown
  • buildSitemapXml
  • buildSsrDocument
  • buildTurboStream
  • cachedFormData
  • coalesceHydrationManifest
  • createAgenticMiddleware
  • createCompressionMiddleware
  • createCorsMiddleware
  • createFormBodyCacheMiddleware
  • createHttpCacheMiddleware
  • createResponseCacheMiddleware
  • createRouteBinding
  • createRouter
  • createSecurityHeadersMiddleware
  • createThrottleMiddleware
  • createTrustedProxiesMiddleware
  • encodeSseEvents
  • errorCodeForStatus
  • errorResolutionForStatus
  • filterFastPathMiddleware
  • formatSseEvent
  • getFactoryBufferBody
  • getFactoryStringBody
  • getMiddlewareMeta
  • htmlErrorBody
  • htmlToMarkdown
  • ipMatchesCidr
  • isHtmxRequest
  • isIndexableGetRoute
  • isJsonResource
  • isPaginatorLike
  • isResourceCollection
  • isTrustedProxyPeer
  • isTurboFrameRequest
  • joinRoutePaths
  • markdownErrorBody
  • mergeVary
  • middlewareHasTag
  • normalizeIp
  • normalizeMiddlewareInput
  • normalizeRouteParams
  • parseAccept
  • preferredRepresentation
  • problemJsonBody
  • qualifiesForJsonFastPath
  • qualifiesForJsonFastPathResolved
  • readRequestPathname
  • registerThrottlePresets
  • rejectsAllRepresentations
  • resetThrottleStore
  • resolveClientIp
  • resolveHttpResult
  • resolveSecure
  • routeParamKey
  • routesToOpenApi
  • shouldTrustForwardedHeaders
  • signRouteUrl
  • streamSsrDocument
  • temporarySignedRouteParams
  • throttleMiddlewareAlias
  • trackBufferBody
  • trackStringBody
  • verifySignedRouteUrl
  • wantsJson
  • wantsMarkdown
  • withMiddlewareMeta

Types ​

  • AgentConfig
  • AgentContentSignal
  • AgentIdentity
  • AgentPathConfig
  • AgenticMiddlewareOptions
  • AgenticRepresentation
  • CachedHttpResponse
  • ConditionalValue
  • CorsOptions
  • Groupable
  • HttpCacheOptions
  • HttpMethod
  • Middleware
  • MiddlewareGroupable
  • MiddlewareInput
  • MiddlewareMeta
  • MiddlewareTag
  • OpenApiExportOptions
  • PaginatorLike
  • ResourcePayload
  • ResponseCacheOptions
  • ResponseCacheStore
  • Routable
  • RouteDefinition
  • RouteHandler
  • RouteParams
  • RouteScope
  • ScopedRouteRegistrar
  • SecurityHeadersOptions
  • SessionContract
  • ThrottleEntry
  • ThrottleOptions
  • ThrottlePresetMap
  • ThrottleStore
  • TrustedProxiesOptions

Guide ​

See the Controllers & middleware guide for usage examples.

Released under the MIT License.