npm-assure

0.0.2 • Public • Published

npm-assure

Description

Command-line utility for installing an NPM module if not present. Useful when sharing script that have global npm dependencies. Checks version numbers. Works with the following formats:

npm-assure <pkg>
npm-assure <pkg>@<version>
npm-assure <pkg>@<version range>

Installation

npm install -g npm-assure

Example

// in build-doc.bat
npm-assure -g jsdoc ::Uses npm list; reasonably fast
jsdoc --recurse --destination doc --readme README.md app

Readme

Keywords

none

Package Sidebar

Install

npm i npm-assure

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • acbabis