Repository
Current version released
3 years ago
Dependencies
std
Versions
serve
A neat interface for directory listing and fileserving over http
Usage
NOTE: You’ll need at least Deno 1.2.0
The quickest way to get started is to just run the following command in your project’s directory.
deno run --allow-read --allow-net https://x.nest.land/serve@1.0.3/mod.ts
If you prefer, you can also install serve
globally using deno install
:
deno install --allow-read --allow-net -n serve https://x.nest.land/serve@1.0.3/mod.ts
Once that’s done, you can run this command inside your project’s directory…
serve
…or specify which folder you want to serve:
serve folder_name
Finally, run this command to see a list of all available options:
serve --help
🎉 Now you understand how serve
works!
Credits
This project is inspire by vercel/serve and Deno’s file_server demo
License
serve
is distributed under The MIT License.