This is a server that will accept requests for TypeScript files with a path that
ends with a "ts" file extension. The TypeScript file resource will be transpiled
to JavaScript and returned with the mime-type text/javascript
.
- Deno version 1.36.1 or later.
- Node Hydrogen/LTS or later.
npm install
npm run start
Open a browser and navigate to http://<machine IP>:3000/
.
Currently served file extensions.
Extension | Response Mime-Type |
---|---|
html | text/html |
ico | image/x-icon |
ts | text/javascript |