npm-check-command
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i npm-check-command

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

9.67 kB

Total Files

10

Last publish

Collaborators

  • joshghent