mathisonian / command-exists
node module to check if a command-line command exists
☆144Updated 2 years ago
Alternatives and similar repositories for command-exists:
Users that are interested in command-exists are comparing it to the libraries listed below
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆152Updated last year
- ☆118Updated last year
- Check if something is a Node.js stream☆110Updated 4 months ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆144Updated last year
- Move a file - Even works across devices☆198Updated last year
- Find the closest package.json file☆162Updated last year
- Reliably get the terminal window size☆141Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆334Updated 5 months ago
- Polyfill/shim for util.promisify in node versions < v8☆127Updated 3 months ago
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Get the latest version of an npm package☆176Updated last year
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆83Updated 7 months ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 4 months ago
- Indent each line in a string☆113Updated 2 years ago
- Write data to a random temporary file☆105Updated 7 months ago
- Get the path to the user home directory☆161Updated 3 years ago
- Import a module lazily☆248Updated 2 years ago
- Check if a string or buffer is SVG☆134Updated 7 months ago
- Copy a file☆121Updated last year
- Check if your package was installed globally☆70Updated last year
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago
- Sort the keys of an object☆101Updated 6 months ago
- Read a package.json file☆165Updated last year
- Edit a string with the users preferred text editor using $VISUAL or $EDITOR☆44Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆121Updated 3 weeks ago