1.0.2 • Published 5 years ago
npm-check-command v1.0.2
Check Command
A small node module to check if npm commands are present
Installation
$ npm install npm-check-command --save
Usage
Javascript
var checkCommand = require('npm-check-command');
checkCommand('build', 'package.json'); // => true or false
Typescript
import { checkCommand } from 'npm-check-command';
checkCommand('build', 'package.json'); // => true or false
Test
$ npm test
1.0.2
5 years ago