sindresorhus / shell-env
Get environment variables from the shell
☆80Updated 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
- Resolve the path of a globally installed module☆41Updated last year
- Get the real path of the system temp directory☆83Updated 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
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 9 months ago
- Import a globally installed module☆57Updated last year
- Lazy number range generator☆81Updated last year
- Get the $PATH from the shell☆69Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Get the user's default shell☆40Updated 3 years ago
- Get or check the current macOS version☆62Updated 3 years ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 6 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the command history of the user's shell☆84Updated 2 years ago
- Get the version of a binary in semver format☆35Updated 10 months ago
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Detect the dominant newline character of a string☆55Updated last year
- The score badge service for https://npms.io☆35Updated 6 years ago
- Get the number of days in a month☆27Updated 3 years ago
- Easily handle defaults for your options☆73Updated last year