sindresorhus / npm-run-path
Get your PATH prepended with locally installed binaries
☆104Updated 2 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
- Get the PATH environment variable key cross-platform☆44Updated 8 months ago
- Get the path of the parent module☆77Updated last year
- Resolve the path of a package regardless of it having an entry point☆55Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Check if a path is a file, directory, or symlink☆77Updated 5 months ago
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Get packages by a npm user☆42Updated 7 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- ES2015 `Array#findIndex()` ponyfill☆32Updated 8 months ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated last year
- Import a globally installed module☆57Updated last year
- Truncate a string to a specific width in the terminal☆86Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Find the closest package.json file☆161Updated last year
- Lazy number range generator☆82Updated last year
- Check if argv has a specific flag☆94Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 8 months ago
- Indent each line in a string☆112Updated 2 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…☆91Updated 2 years ago
- Make a function mimic another one☆93Updated 2 months ago
- Filter object keys and values into a new object☆101Updated 7 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year