Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

install-dependency

sorrycc9MIT0.1.0

Install dependency with any npm clients.

readme

install-dependency

Install dependency with any npm clients.

NPM version Build Status NPM downloads

Install

$ yarn add install-dependency

Usage

const installDependency = require('install-dependency');
await installDependency(pkg, cwd, opts);

Options

npmClient

slient

saveDev

onData

LICENSE

MIT