hench
v1.1.0
Published
Zero config static server
Downloads
11
Maintainers
Readme
hench
Zero config static server
Install
Install with npm
$ npm i -S hench
Example
$ cd /projects/my-awesome-project
$ hench
Hench will start serving any files found at /projects/my-awesome-project
, that’s it. No magic, no fuss, just serving stuff.
Hench will also open any path you specify.
$ hench main.html
Programmatic Example
const app = require('hench')
app.listen(3000, () => {
console.log('Listening on 3000')
})
Running tests
$ npm install
$ npm test
Contributing
Pull requests are always welcome, the project uses the standard code style. Please run npm test
to ensure all tests are passing and add tests for any new features or updates.
For bugs and feature requests, please create an issue.
License
MIT