hephaistos-core

0.1.2 • Public • Published

hephaistos-core

GitHub version Dependency Status devDependency Status Build Status Coverage Status

Hephaistos core

Hapi.js server core Glue composition.

Installation

The easiest way is to keep hephaistos-core as a dependency in your package.json.

{
  "dependencies": {
    "hephaistos-core": "1.0.0"
  }
}

You can simple do it by:

npm install hephaistos-core --save

Example

var hephaistosCore = require('hephaistos-core');
var options = {
    relativeTo: '../my/source/dir'
}
var pathOfManifest = 'path/to/config.json';
 
module.exports = (function(){
    hephaistosCore(pathOfManifest, options).start();
})();

Usage

hephaistos-core is a function that takes the following arguments:

  • pathOfManifest - (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.

Package Sidebar

Install

npm i hephaistos-core

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • patiernom