0.1.5 • Published 10 years ago

poseidon-core v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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.

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago