1.0.2 • Published 5 years ago

npm-check-command v1.0.2

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

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