hapi-datify

your datify-friendly hapi plugin.

hapi-datify

your datify-friendly hapi plugin.

> npm install hapi-datify

use hapi-datify as a plugin for hapi. For example, if you use hapi cli tool (or composer), put it in your config file:

{
  "hapi-datify": {
    "routesToDatifyRegEx": "^/documents&"
  }
}

The example above will datify only the /documents route, meaning, it will datify request.payload, request.query .

see datify#why.

> npm install
> make test-cov