Http static file server
npm install localhostStatic file server which returns files regardless of the header method - unlike popular others.
bash
npm install localhost --save-dev
`
`javascript
import localhost from 'localhost';
localhost('./').listen(port);
`Save globally and run as an executable
localhost [directory] [-p portNumber|8080]`bash
npm install -g localhost
cd ./www/
localhost
`Run using npx
`bash
cd ./www/
npx localhost
``