tv-enable

register TV plugin with all dependencies

Usage no npm install needed!

<script type="module">
  import tvEnable from 'https://cdn.skypack.dev/tv-enable';
</script>

README

tv-enable

register TV plugin with all dependencies

Build Status

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