1.0.0 • Published 10 years ago
engine-builder v1.0.0
engine-builder

Engine composition parser.
Installation
$ npm i --save engine-builderExample
// 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 asservice.- Function
next: Thenexthandler 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. :sparkles:
License
1.0.0
10 years ago