Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
doa
/
utils
/
byteLength.ts
A middleware framework for Deno's http serve🦕. Transplanted from Koa with ❤️
johannlai/doa
Version
Latest
v1.0.0
Menu
typeIs.ts
v
normalize
f
hasBody
f
is
f
typeofrequest
isReader.ts
f
isReader
statusEmpty.ts
v
statusEmpty
keygrip.ts
c
Keygrip
statusRedirect.ts
v
statusRedirect
byteLength.ts
f
byteLength
mediaTyper.ts
f
format
f
parse
escape.ts
f
escape
delegates.ts
c
Delegator
f
delegates
import
*
as
doa
from
"https://deno.land/x/doa@v1.0.0/utils/byteLength.ts"
;
Functions
f
byteLength