sindresorhus / shell-envLinks
Get environment variables from the shell
☆82Updated 3 years ago
Alternatives and similar repositories for shell-env
Users that are interested in shell-env are comparing it to the libraries listed below
Sorting:
- Resolve the path of a globally installed module☆41Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get the $PATH from the shell☆69Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated 7 months ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Get all property keys of an object including non-enumerable and inherited ones☆108Updated 3 years ago
- Get the path to an app (macOS)☆63Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Read a package.json file☆167Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Get the user's default shell☆40Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Check if your package was installed globally☆70Updated last year
- Get the command history of the user's shell☆85Updated 2 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated last year
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Get the number of days in a month☆27Updated 3 years ago
- Get PID from a port☆79Updated 4 years ago