sindresorhus / npm-run-pathLinks
Get your PATH prepended with locally installed binaries
☆105Updated 9 months ago
Alternatives and similar repositories for npm-run-path
Users that are interested in npm-run-path are comparing it to the libraries listed below
Sorting:
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago
- Resolve the path of a package regardless of it having an entry point☆54Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Check if your package was installed globally☆70Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the path of the parent module☆77Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Toggle the CLI cursor☆110Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Make a function mimic another one☆94Updated 9 months ago
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if a value is a plain object☆102Updated last year
- Filter object keys and values into a new object☆103Updated last year
- Convert a value to an array☆129Updated 3 years ago
- Copy a file☆121Updated last year
- Lazy number range generator☆81Updated last year
- Check if argv has a specific flag☆95Updated 4 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Import a globally installed module☆58Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year