hapi-helpers
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "hapi-helpers", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Some helper functions for hapi.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,4 +11,15 @@ hapi.js helpers | ||
Some helper functions for [hapi.js](http://hapijs.com/) to write less boilerplate code. | ||
Currently simplify routes definitions. | ||
Currently it only simplifies the routes definitions. | ||
Feature requests welcome via [issues](#issues). | ||
It has no dependencies - only some devDependencies: it uses | ||
[chai](https://github.com/chaijs/chai), | ||
[mocha](https://github.com/mochajs/mocha), | ||
[istanbul](https://github.com/gotwarlost/istanbul) and | ||
[coveralls](https://github.com/cainus/node-coveralls) | ||
for testing and test coverage, | ||
and [Travis](https://travis-ci.org/) for continuous integration, | ||
see: [https://travis-ci.org/rsp/node-hapi-helpers](https://travis-ci.org/rsp/node-hapi-helpers)) | ||
Example | ||
@@ -62,2 +73,6 @@ ------- | ||
``` | ||
Or using [the ES6 destructuring assignment](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment): | ||
```js | ||
var {get, post} = require('hapi-helpers'); | ||
``` | ||
@@ -64,0 +79,0 @@ Routes |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14883
263