hadron-package-manager
v4.0.0
Published
Hadron Package Manager
Downloads
7
Maintainers
Keywords
Readme
hadron-package-manager
Hadron Package Manager
Installation
npm install --save hadron-package-manager
Usage
const packagesPath = path.join(__dirname, 'packages');
const intPackagesPath = path.join(__dirname, 'internal-packages');
const PackageManager = require('hadron-package-manager');
const AppRegistry = require('hadron-app-registry');
const manager = new PackageManager(
[ intPackagesPath, packagesPath ],
__dirname,
['external-packages/example3']
);
const appRegistry = new AppRegistry();
manager.activate(appRegistry);
License
Apache 2.0