hench

1.1.0 • Public • Published

hench

Zero config static server

Build Status npm version Dependency Status js-standard-style

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

Package Sidebar

Install

npm i hench

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • mattstyles