tv-enable
v1.1.0
Published
register TV plugin with all dependencies
Downloads
5
Readme
tv-enable
register TV plugin with all dependencies
API
tvEnable(hapi server object, [tv options - js object,] callback(error object))
Usage
var Hapi = require('hapi')
var tvEnable = require('tv-enable')
...
var server = new Hapi.Server()
...
tvEnable(server, function(err) {})
Development
this projet has been set up with a precommit that forces you to follow a code style, no jshint issues and 100% of code coverage before commit
to run test
npm test
to run jshint
npm run jshint
to run code style
npm run code-style
to check code coverage
npm run check-coverage
to open the code coverage report
npm run coverage