Skip to content

A simple/minimal Node.js file server with no dependencies other than Node.js itself.

License

Notifications You must be signed in to change notification settings

fadams/file-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

file-server

A simple/minimal Node.js file server with no dependencies other than Node.js itself.

It started out as a means to learn a bit about Node's http module, but it turns out to be a nice quick and simple way to serve files locally. It is primarily intended for local, non-production use and hasn't been tested for robustness against any sort of attack.

Run with:

node file-server.js <port> or ./file-server.js <port>

The default port is 8080

About

A simple/minimal Node.js file server with no dependencies other than Node.js itself.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published