poseidon-core
v0.1.5
Published
Server core Glue composition for Hapi.js
Downloads
2
Readme
poseidon-core
Server core Glue composition for Hapi.js
Installation
The easiest way is to keep poseidon-core
as a devDependency in your package.json
.
{
"dependencies": {
"poseidon-core": "1.0.0"
}
}
You can simple do it by:
npm install poseidon-core --save
Example
var poseidonCore = require('poseidon-core');
var options = {
relativeTo: '../my/source/dir'
}
var manifestFilePath = 'path/to/config.json';
module.exports = (function(){
poseidonCore(manifestFilePath, options).start();
})();
Usage
poseidon-core
is a function that takes the following arguments:
- manifestFilePath - (required) the of Hapi.js manifest file.
- options - (required) an object that contain options for Hapi.js Glue.
Release History
(Nothing yet)
License
Licensed under the MIT license.