sindresorhus / shell-env
Get environment variables from the shell
☆81Updated 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
- Get the $PATH from the shell☆69Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Lazy number range generator☆81Updated last year
- Get your PATH prepended with locally installed binaries☆104Updated 4 months ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Resolve the path of a globally installed module☆41Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Import a globally installed module☆57Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 10 months ago
- Get the remote origin URL of a Git repository☆45Updated 3 years ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆124Updated 10 months ago
- Get the path to an app (macOS)☆63Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get PID from a port☆79Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 weeks ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Get the command history of the user's shell☆84Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Cascading, controlled-visibility options object management.☆40Updated 4 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get the version of a binary in semver format☆35Updated 11 months ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆46Updated 3 years ago