node package manager

pinf-loader-js-demos-npmpackage

Sample package that depends on pinf-loader-js and loads a program.

NPM Package

Sample npm package that depends on pinf-loader-js and loads a program.

Test

Install:

npm install pinf-loader-js-demos-npmpackage

Run:

npm start pinf-loader-js-demos-npmpackage

Usage

Add dependency to package.json:

{
    "dependencies": {
        "pinf-loader-js": ">=0.0.1"
    }
}

Boot program from within module:

var PINF_LOADER = require("pinf-loader-js/lib/pinf-loader-js/loader");

PINF_LOADER.boot({
    program: "/.../program.json"
});