0.4.1 • Published 3 years ago

localhost v0.4.1

Weekly downloads
67
License
BSD
Repository
github
Last release
3 years ago

localhost

Static file server which returns files regardless of the header method - unlike popular others.

Embed within a NodeJS script

npm install localhost --save-dev
import localhost from 'localhost';
localhost('./').listen(port);

Save globally and run as an executable

localhost [directory] [-p portNumber|8080]

npm install -g localhost
cd ./www/
localhost

Run using npx

cd ./www/
npx localhost
0.4.1

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.7

3 years ago

0.4.0

3 years ago

0.3.2

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.1

4 years ago

0.3.0

6 years ago

0.2.3

8 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.0

14 years ago