mathisonian / command-exists
node module to check if a command-line command exists
☆144Updated last year
Related projects ⓘ
Alternatives and complementary repositories for command-exists
- Find the closest package.json file☆159Updated last year
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆144Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆330Updated last month
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 3 weeks ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆151Updated last year
- Check if something is a Node.js stream☆111Updated 3 weeks ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Move a file - Even works across devices☆198Updated last year
- Read a package.json file☆166Updated last year
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆107Updated 2 years ago
- Import a module while bypassing the cache☆284Updated 5 months ago
- A static list of the Node.js builtin modules from the latest Node.js version☆120Updated 6 months ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated last year
- Check if a path exists☆150Updated 2 years ago
- ☆117Updated last year
- ☆157Updated this week
- Easily handle defaults for your options☆73Updated last year
- Reliably get the terminal window size☆140Updated last year
- Get the system locale☆225Updated 2 years ago
- normalizes package metadata, typically found in package.json file.☆196Updated last month
- Read a chunk from a file☆122Updated 4 months ago
- Indent each line in a string☆112Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Polyfill/shim for util.promisify in node versions < v8☆126Updated last year
- Read the closest package.json file☆258Updated last year
- Get stdin as a string or buffer☆337Updated last year
- Get a random temporary file or directory path☆424Updated last year
- Strip leading whitespace from each line in a string☆135Updated 3 years ago