Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Versions
eszip2go
A basic web server that renders the eszip bundle of the requested module.
Important
It’s recommended that you specify allowedHostnames to prevent misuse.
import { createServer } from 'https://deno.land/x/eszip2go@v0.1.0/mod.ts'
createServer()Customization
allowedExtensionsA regular expression for the allowed file extensions. Defaults to
/^json|wasm|js|mjs|ts|mts$/.mustHaveExtensionWhether the requested module should have an extension. By default this option is set to
false.allowedHostnamesA regular expression or an array of strings for the allowed hostnames.
disallowedHostnamesA regular expression or an array of strings for the disallowed hostnames.