1.0.0 • Published 5 years ago
@fofx/install v1.0.0
install
Install npm dependencies to local disk
Usage
const install = require('@fofx/install');
async function main() {
const manifests = await install('./install/here', [
'lodash',
'express@2',
'mongoose',
]);
// or, for a dry-run:
const manifests2 = await install(
'./install/here',
['lodash', 'express@2', 'mongoose'],
false
);
}
1.0.0
5 years ago