A hapi plugin that wraps Transformer exposing it's solitary getConfiguration()
function
If you want to work on this repo you will need to install the dependencies
$ npm install git+ssh://[email protected]/holidayextras/plugin-transformer.git
then in your file,
var pluginTransformer = require( 'plugin-transformer' );
This plugin conforms to the hapijs plugin interface.
While bootstrapping your Hapi server, include the plugin like so:
server.pack.register( [
require( 'plugin-harvest' )
], function() {
server.start( function() {
console.log( 'server started with plugin-harvest plugin initialised' );
} );
} );
This plugin conforms to our standard plugin/promise interface defined here (see 'Promises')
Code is linted checked against the style guide with make-up, running npm test will run all tests required.
Copyright (c) 2015 Holiday Extras Ltd Licensed under the MIT license.