engine-builder

1.0.0 • Public • Published

engine-builder Version Downloads

Engine composition parser.

Installation

$ npm i --save engine-builder

Example

// Dependencies
const EngineBuilder = require("engine-builder");
 
var eb = new EngineBuilder(`${__dirname}/engine-test`);
eb.getGraph(function (err, data) {
    console.log(err || JSON.stringify(data, null, 4));
});

Documentation

getGraph(options, data, next)

Parses and sends back the application builder data. Note the EngineBuilder class is extended from EngineParser. So, all the methods available in EngineParser are accessible here as well.

Params

  • Object options: The options object.
  • Object data: An object containing the following fields:
  • app (String): The application name (todo: this is currently hardcoded as service.
  • Function next: The next handler used in flow.

How to contribute

Have an idea? Found a bug? See how to contribute.

Where is this library used?

If you are using this library in one of your projects, add it in this list. ✨

License

MIT © jillix

/engine-builder/

    Package Sidebar

    Install

    npm i engine-builder

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • ionicabizau