Skip to content

r21meghashyam/ns-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ns-serve

Tiniest Nodejs Static Server without npm dependencies.

Great to run static websites

Install

npm i -g ns-serve

Usage

Go to any static web project, open you command line in that folder and run ns-serve, open you web browser and type http://localhost:8080

Limitation

  • As the name states, it's a static server.
  • Directory paths shows an error page.
  • If port 8080 is in use, server will fail to start.
  • Don't be stupid and use this in production.

About

Tiniest Nodejs Static Server without npm dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published