1.0.10 • Published 7 years ago

quick-static v1.0.10

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

serve static files

Serve static files over http from Command Line Interface
npm

Very small wrapper around express & serve-index
Colored logs powered by colors

For a more powerfull static server, able to compile and deliver pug & sass on the fly, see super-quick-static (@npm)

install

$ npm i quick-static -g

usage

$ quick-static 
// serve the current directory on http://localhost:8000

$ quick-static ./public 12345 
// serve the folder 'public' from the current directory on http://localhost:12345

$ quick-static /an/absolute/path 6666 
// serve a absolute folder on http://localhost:6666

$ quick-static . 4000 auto
// serve current directory on http://localhost:4000
// if the port 4000 is not available, 
// will search for the next available port

screenshot

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago