1.0.0 • Published 5 years ago

@fofx/install v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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
  );
}