0.4.1 • Published 2 years ago

localhost v0.4.1

Weekly downloads
67
License
BSD
Repository
github
Last release
2 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

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.7

2 years ago

0.4.0

2 years ago

0.3.2

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.1

3 years ago

0.3.0

5 years ago

0.2.3

6 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.0

13 years ago