@whodunit/environment
v1.0.4
Published
Handles the lifecyle and bootstrapping of investigators in a specific environment
Downloads
8
Maintainers
Readme
whodunit Environment
Handles the lifecycle and bootstrapping of investigators in a specific environment
It provides a high-level API to discover, create and run investigators, as well as further tuning of where and how an investigator is resolved.
Install
$ npm install @whodunit/environment
Usage
Full documentation will be available here.
const whodunit = require('@whodunit/environment');
const env = whodunit.createEnv();
// The #lookup() method will search the user computer for installed investigators
// The search if done from the current working directory
env.lookup(() => {
env.run('angular', {'skip-install': true}, err => {
console.log('done');
});
});
For advance usage, see our API documentation.
License
BSD-2-Clause © whodunit