ns-serve

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i ns-serve

Weekly Downloads

2

Version

1.0.0

License

GNU GPL

Unpacked Size

37 kB

Total Files

4

Last publish

Collaborators

  • megh