Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 948 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 948 Bytes

install-if-needed

Build Status npm Version JS Standard

Run npm install only if needed

Install

npm i npm-install-if-needed

Usage

cd __your_package_dir__
npx npm-install-if-needed # Run npm install only if needed

Programmatic API

const installIfNeeded = require('npm-install-if-needed')

installIfNeeded()