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
.
You can simple do it by:
npm install poseidon-core --save
Example
var poseidonCore = ;var options = relativeTo: '../my/source/dir'var manifestFilePath = 'path/to/config.json'; moduleexports = { 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.