0.0.3 • Published 12 years ago

hapi-datify v0.0.3

Weekly downloads
1
License
-
Repository
github
Last release
12 years ago

hapi-datify

your datify-friendly hapi plugin.

Build Status

how

> 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 .

why

see datify#why.

test

> npm install
> make test-cov
0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago