1.1.0 • Published 8 years ago
hench v1.1.0
hench
Zero config static server
Install
Install with npm
$ npm i -S henchExample
$ cd /projects/my-awesome-project
$ henchHench 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.htmlProgrammatic Example
const app = require('hench')
app.listen(3000, () => {
console.log('Listening on 3000')
})Running tests
$ npm install
$ npm testContributing
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