poseidon-core

0.1.5 • Public • Published

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.

/poseidon-core/

    Package Sidebar

    Install

    npm i poseidon-core

    Weekly Downloads

    2

    Version

    0.1.5

    License

    MIT

    Last publish

    Collaborators

    • bobbino
    • patiernom
    • pizzaboit