Skip to content

patiernom/hephaistos-core

Repository files navigation

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.

About

Hapi.js server core Glue composition.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published