Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
->
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
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
test_on_localhost
/
cli.ts
Create a localhost server and run tests
KSXGitHub/deno_run_tests_on_localhost
Version
Latest
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.3-rc.3
0.0.3-rc.2
0.0.3-rc.1
0.0.3-rc.0
0.0.2
0.0.1
0.0.0
Menu
serve-fallback.ts
f
default
f
serveFallback
file-server.ts
c
default
c
FileServer
I
Param
content-type.ts
f
contentType
f
default
media-types.ts
v
default
v
MEDIA_TYPES
default-list.ts
f
default
f
getDefaultList
set-cors.ts
f
default
f
setCORS
serve-file.ts
f
default
f
serveFile
deps.ts
c
ServerRequest
I
Response
v
posix
f
assert
f
serve
E
Status
run.ts
I
Param
f
default
f
run
cli.ts
This module does not provide any exports.