</>PackageGraphPackageGraph

command-exists

npmv1.2.9

check whether a command line command exists in the current environment

5.6M
Weekly downloads
1
Dependents
3
Dependencies
83/100
Popularity

Overview

command-exists is an npm package that check whether a command line command exists in the current environment. It is very popular, with about 5.6M downloads per week and 1 known dependents in the graph. The latest version is 1.2.9, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need check whether a command line command exists in the current environment and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (5.6M weekly downloads).
  • Clear open-source license (MIT).
  • Lean dependency tree (3 direct dependencies).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of command-exists.

@react-native-com…command-exists
command-exists dependencies dependents

Dependencies

Dev (3)

expect.js ^0.3.1jshint ^2.9.1mocha ^2.5.3

Used by

Popular packages that depend on command-exists.

Alternatives to command-exists

Frequently installed together

semvernpm

The semantic version parser used by npm.

800M/wk52 dependentsISC
oranpm

Elegant terminal spinner

79.5M/wk5 dependentsMITTS
wcwidthnpm

Port of C's wcwidth() and wcswidth()

44.3M/wk1 dependentsMIT
envinfonpm

Info about your dev environment for debugging purposes

18.4M/wk2 dependentsMIT
@react-native-community/cli-toolsnpm

No description provided.

3.2M/wk7 dependentsMITTS
@react-native-community/cli-platform-androidnpm

This package is part of the [React Native CLI](../../README.md). It contains commands for managing the Android part of React Native app.

2.7M/wk2 dependentsMITTS
@react-native-community/cli-platform-iosnpm

This package is part of the [React Native CLI](../../README.md). It contains commands for managing iOS part of React Native app.

2.7M/wk2 dependentsMITTS
@react-native-community/cli-typesnpm

No description provided.

2.6M/wk7 dependentsMITTS
@react-native-community/cli-platform-applenpm

This package is part of the [React Native CLI](../../README.md). It contains utilities for building reusable commands targeting Apple platforms.

2.1M/wk2 dependentsMITTS
yamlnpm

JavaScript parser and stringifier for YAML

0/wk5 dependentsISCTS
picocolorsnpm

The tiniest and the fastest library for terminal output formatting with ANSI colors

0/wk14 dependentsISCTS
@react-native-community/cli-confignpm

This package is part of the [React Native CLI](../../README.md). It contains commands for managing the configuration of React Native app.

0/wk2 dependentsMITTS

Version history

VersionPublishedLicense
1.2.9latest6 years agoMIT
1.2.87 years agoMIT
1.2.78 years agoMIT
1.2.68 years agoMIT
1.2.58 years agoMIT
1.2.48 years agoMIT
1.2.38 years agoMIT
1.2.29 years agoMIT
1.2.19 years agoMIT
1.2.09 years agoMIT
1.1.09 years agoMIT
1.0.210 years agoMIT
1.0.110 years agoMIT
1.0.010 years agoMIT
0.1.110 years agoMIT
0.1.012 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install command-exists?

Run `npm install command-exists` to add command-exists to your npm project.

What license is command-exists released under?

command-exists is distributed under the MIT license.

How popular is command-exists?

command-exists has approximately 5,591,018 downloads per week and 1 known dependent packages.