Skip to content
@xtandard/kit
Search
Ctrl
K
Cancel
GitHub
npm
Select theme
Dark
Light
Auto
Menu
Start here
Entry points
Plan
Runtime
Storage
Authentication
Authorization
Hooks
Server
Adapters
CLI
Scoped tokens
Utilities
UI and tooling
UI kit
Build tooling
Docs site
Reusable workflows
API reference
adapters/bun
Type Aliases
BunFetch
Functions
toBunFetch
adapters/elysia
Interfaces
CreatePassOptions
CreatePassResult
PassContext
Functions
createPass
adapters/express
Interfaces
ExpressMiddlewareOptions
Type Aliases
ExpressMiddleware
Functions
toExpressMiddleware
adapters/hono
Interfaces
HonoAppLike
HonoContextLike
WaitUntil
Functions
mountPanel
toHonoHandler
waitUntilOf
adapters/next
Interfaces
NextRouteHandlers
Type Aliases
NextRouteHandler
Functions
toNextHandler
adapters/node
Interfaces
NodeHandlerOptions
ToWebRequestOptions
Type Aliases
FetchHandler
NodeRequest
Functions
headersFrom
requestUrl
toNodeHandler
toWebRequest
writeWebResponse
auth
Interfaces
AuthProvider
Principal
auth/basic
Interfaces
BasicAuthOptions
BasicAuthUser
Functions
basicAuth
hashPassword
verifyPassword
auth/delegated
Interfaces
DelegatedAuthOptions
Functions
delegatedAuth
auth/none
Variables
ANONYMOUS_PRINCIPAL
Functions
noAuth
authorization
Interfaces
ActionsDefinition
ActionsDefinitionResult
AuthorizationProvider
AuthorizeInput
Functions
defineActions
authorization/delegated
Interfaces
DelegatedAuthorizationOptions
Functions
delegatedAuthorization
authorization/none
Functions
noAuthorization
authorization/roles
Interfaces
RolesAuthorizationOptions
Type Aliases
RolePolicy
Functions
rolesAuthorization
build
Interfaces
ApiSurface
ApiSurfaceDiff
CoverageThresholds
EmbedConfigOptions
EmbedCssSuiteOptions
EmbedHostOptions
EmbedThemeE2eOptions
ExampleConfig
ExampleRunner
ExampleRunnerOptions
ExportTarget
FixElysia2TypesOptions
PlaywrightApi
PlaywrightConfigOptions
ScopeCssFileResult
SubpathSurface
SuiteApi
UiConfigOptions
XtandardConfigOptions
Type Aliases
Conditions
SpawnLike
Variables
DEFAULT_THRESHOLDS
EMBED_CSS_SAMPLE
Functions
apiSurface
createExampleRunner
defineEmbedConfig
definePlaywrightConfig
defineUiConfig
defineXtandardConfig
diffApiSurface
exportTarget
findFreePort
findUnscopedLeaks
fixElysia2Types
luminance
normalizeScope
packageRoot
rewriteSpecifiers
runEmbedCssSuite
runEmbedThemeE2e
scopeCss
scopeCssFile
cli
Interfaces
AuthFromEnv
AuthFromEnvOptions
ParseArgsOptions
ParsedArgs
RunningServer
ServeOptions
ServeSettings
StartServerOptions
StorageConfig
StorageFromEnvOptions
StorageRole
StorageRoleDefaults
Type Aliases
Env
StorageEntryLoader
StorageEntryLoaders
StorageFactory
StorageRegistry
Variables
defaultStorageRegistry
Functions
buildAuthFromEnv
describeStorage
driverEnvOf
env
isMainModule
isTruthy
parseArgs
pkgVersion
resolveStorageConfig
serve
startServer
storageFromEnv
storageRegistryFrom
drizzle/mysql
Interfaces
MysqlKvTableOptions
Type Aliases
DrizzleKvTable
MysqlKeyCollation
MysqlKvColumns
Functions
binVarchar
mysqlKvTable
drizzle/pg
Interfaces
PgKvTableOptions
Type Aliases
PgKvColumns
Variables
textC
Functions
pgKvTable
References
DrizzleKvTable
drizzle/sqlite
Interfaces
SqliteKvTableOptions
Type Aliases
SqliteKvColumns
Functions
sqliteKvTable
References
DrizzleKvTable
hooks
Classes
HookDeniedError
Interfaces
HookEvent
Hooks
Type Aliases
HookErrorReporter
HooksInput
Variables
defaultHookErrorReporter
Functions
createHookErrorReporter
hookDeniedStatus
isNamed
normalizeHooks
runAfter
runBefore
hooks/log
Interfaces
LogHookOptions
Functions
createLogHook
kit
Variables
VERSION
server
Classes
HttpError
Interfaces
Authenticated
AuthenticateOptions
AuthorizeOptions
BootstrapConfig
CorsOptions
IntervalTaskOptions
IntParamOptions
PanelHandler
PanelOptions
PanelTask
RenderIndexHtmlOptions
ScopedAuth
Type Aliases
ErrorMap
ErrorMapping
Variables
JSON_CONTENT_TYPE
Functions
applyCorsHeaders
authenticate
authorize
createPanelHandler
error
intervalTask
intParam
json
looksLikeAsset
mapError
match
methodNotAllowed
noContent
normalizeBasePath
preflightResponse
renderIndexHtml
requireOneOf
resolveUiDir
serveStaticAsset
stripBasePath
server/router
Interfaces
Call
OpenApiOptions
Route
RouteQueryParam
Router
RouterOptions
RouteSpec
Type Aliases
RouteMethod
Schema
Variables
ERROR_SCHEMA
Functions
buildOpenApiDocument
createRouter
errorResponse
openApiOperation
ref
toOpenApiPath
site
Classes
Slugger
Interfaces
ApiEntry
ApiOverviewsOptions
Reexport
SiteGroup
SiteLink
SiteManifest
SiteManifestOptions
SitePage
SitePeers
SyncResult
TypedocPluginOptions
XtandardSiteOptions
Type Aliases
IntegrationFactory
SiteItem
StarlightSidebarItem
Functions
alerts
apiEntries
apiOverviews
createTypedocPlugin
defineSiteManifest
defineXtandardSite
describeMarkdown
importFromSite
isGroup
isPage
loadSiteModules
mapProse
moduleDescription
orderedEntryPoints
plain
readReexports
reexportsFile
resolvePackageEntry
runSync
syncSite
toStarlightSidebar
writeApiOverviews
storage
Interfaces
CompareAndSwapInput
CompareAndSwapKvStorage
KvStorage
PgNotificationClient
StorageChangeEvent
TransactionalKvStorage
WatchableKvStorage
Type Aliases
JsonObject
JsonValue
WatchSubscribe
Variables
SAFE_IDENTIFIER
Functions
assertIdentifier
canonical
canonicalJson
decodeSegment
deepEqual
encodeSegment
escapeGlob
escapeLike
escapeRedisGlob
escapeRegex
importPeer
isCompareAndSwap
isTransactional
isWatchable
lastSegment
padMillis
parseJsonValue
parseSortableLeaf
pgListenNotify
requirePeer
sortableLeaf
withWatch
storage/cloudflare-kv
Interfaces
CloudflareKvStorageOptions
KVNamespaceLike
Type Aliases
CloudflareKvStorage
Functions
createCloudflareKvStorage
storage/drizzle
Classes
KeyCollisionError
Interfaces
DrizzleStorageOptions
Type Aliases
DrizzleKvStorage
Functions
createDrizzleStorage
References
DrizzleDialect
DrizzleKvTable
storage/drizzle/internals
Interfaces
DrizzleInsert
DrizzleLikeDatabase
Type Aliases
DrizzleDialect
DrizzleReturning
Functions
affectedRows
detectDrizzleDialect
drizzleSql
prefixSuccessor
storage/file
Interfaces
FileStorageOptions
Type Aliases
FileKvStorage
FileLegacyMode
Functions
clearFileStorage
createFileStorage
decodeSegment
encodeSegment
migrateFileStorage
storage/libsql
Interfaces
LibsqlKvStorage
LibsqlStorageOptions
Functions
createLibsqlStorage
References
LibsqlClientLike
storage/libsql/internals
Interfaces
LibsqlClientLike
LibsqlConnection
SqliteExecutor
SqliteStatement
Type Aliases
SqliteRow
Functions
libsqlConnection
libsqlExecutor
sqliteKvSchema
sqliteKvStorage
storage/memory
Interfaces
MemoryStorageOptions
Type Aliases
MemoryKvStorage
MemoryWriteHook
Functions
createMemoryStorage
storage/mongodb
Interfaces
MongoKvStorage
MongoStorageOptions
Functions
createMongoStorage
storage/mongodb/internals
Interfaces
KvDocument
MongoConnection
Functions
isDuplicateKey
mongoConnection
mongoKvStorage
storage/postgres
Interfaces
PostgresKvStorage
PostgresStorageOptions
Functions
createPostgresStorage
References
ClosableSqlClient
postgresStorageSchema
SqlClient
storage/postgres/internals
Interfaces
ClosableSqlClient
PgConnection
SqlClient
Functions
pgConnection
pgReady
postgresKvStorage
postgresStorageSchema
storage/redis
Interfaces
RedisKvStorage
RedisStorageOptions
RedisWriteContext
Type Aliases
RedisWriteHook
Functions
createRedisJSONStorage
createRedisStorage
References
RedisLike
storage/redis/internals
Interfaces
RedisConnection
RedisKvStorageOptions
RedisLike
RedisValueCodec
Variables
jsonCodec
stringCodec
Functions
createRedisKvStorage
redisConnection
scanKeys
storage/sqlite
Interfaces
SqliteKvStorage
SqliteStorageOptions
Functions
createSqliteStorage
storage/sqlite/internals
Interfaces
SqliteConnection
Functions
bunSqliteExecutor
sqliteConnection
References
SqliteExecutor
sqliteKvSchema
sqliteKvStorage
SqliteRow
SqliteStatement
storage/testing
Interfaces
ConformanceCapabilities
ConformanceCase
ConformanceContext
ConformanceMatchers
ConformanceOptions
ConformanceTestApi
FakeRedisOptions
Type Aliases
FakeRedis
MakeStorage
SeedLegacy
Variables
capabilitiesCase
compareAndSwapCases
contractCases
watchCases
Functions
asRedisClient
fakeRedis
requireCompareAndSwap
requireWatchable
runConformanceCases
runStorageConformance
settle
storage/unstorage
Interfaces
UnstorageStorageOptions
Type Aliases
UnstorageKvStorage
Functions
createUnstorageStorage
testing
Interfaces
CollectingSink
CollectingSinkOptions
TestClock
Functions
collectingSink
createTestClock
tokens
Classes
TokenError
Interfaces
CreateTokenOptions
ScopedTokens
ScopedTokensOptions
VerifiedToken
Type Aliases
TokenSecret
Functions
createScopedTokens
ui
Classes
ApiError
Interfaces
ApiClient
ApiClientOptions
ApiErrorBody
BootedSpa
BootSpaOptions
BrandMarkProps
ButtonProps
CreateApiClientOptions
DropdownOption
FormatDateTimeOptions
SegmentOption
ShellAppProps
ShellConfigBase
ShellConfigState
ShellFrameProps
ShellTab
ThemeProviderProps
ThemeSignalSource
ThemeState
ThemeStore
ThemeToggleProps
Toast
ToastContextValue
UseShellConfigOptions
UseShellNavOptions
Type Aliases
ApiErrorConstructor
Blocker
ButtonSize
ButtonVariant
FetchLike
QueryValue
ResolvedTheme
ThemeMode
ThemePref
ToastKind
Variables
Button
TextArea
TextInput
Functions
Avatar
Badge
bootSpa
BrandMark
canLeave
clearNavBlocker
cn
ConfigError
ConfirmDialog
CopyButton
CreatableCombobox
createApiClient
createShellQueryClient
createThemeStore
detectHostTheme
Drawer
Dropdown
EmptyCard
formatCompact
formatCount
formatDate
formatDateTime
formatDurationMs
formatNumber
initials
Kbd
LoadingRow
ModalDialog
Mono
Page
PageHeader
portalContainerRef
readConfigGlobal
relativeTime
resolveTheme
SectionCard
Segmented
setNavBlocker
setPortalContainerRef
ShellFrame
Spinner
StatCard
subscribeHostTheme
subscribeSystemTheme
svgDataUrl
systemTheme
takeTokenFromUrl
ThemeProvider
ThemeToggle
ToastProvider
ToggleSwitch
toQuery
truncate
useResolvedTheme
useShellConfig
useShellNav
useTheme
useToast
ui/embed
Interfaces
CreateEmbedOptions
Embed
EmbedBaseProps
ResolvedRouting
TokenEmbedBaseProps
Type Aliases
EmbedRouting
EmbedTheme
Functions
createEmbed
useEmbedRouting
util
Classes
ValidationError
Interfaces
ParseInputOptions
UrlPolicyOptions
ValidationIssue
ValidationResult
Variables
FORBIDDEN_URL_SCHEMES
jsonObjectSchema
jsonValueSchema
KEY_SEGMENT_REGEX
Functions
assertValid
issuesFrom
parseInput
resultOf
validateKeySegment
validateUrl
References
Actor
CanonicalInput
canonicalStringify
createIdGenerator
Duration
durationToMs
IdFormat
IdGenerator
IdGeneratorOptions
JsonObject
JsonValue
parseDurationList
util/core
Interfaces
Actor
IdGenerator
IdGeneratorOptions
Type Aliases
CanonicalInput
Duration
IdFormat
Functions
canonicalStringify
createIdGenerator
durationToMs
parseDurationList
References
JsonObject
JsonValue
Project
xtandard ecosystem
Changelog
Releases
Migration report
Architecture decisions
0001 · Single package, subpath exports
0002 · Mechanism vs policy
0003 · Consumption and API compatibility
0004 · Contracts and extension points
0005 · Stored-data compatibility
0006 · Shared conformance suite
0007 · Versioning policy
0008 · UI kit delivery
0009 · Reusable workflows
0010 · Behaviour differences are parameters
npm
GitHub
npm
Select theme
Dark
Light
Auto
noContent
function
noContent
()
:
Response
;
Defined in:
src/server/http.ts:39
An empty
204
.
Returns
Section titled “Returns”
Response