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:
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get the real path of the system temp directory☆82Updated 2 years ago
- Get the $PATH from the shell☆69Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Resolve the path of a globally installed module☆41Updated last year
- Import a globally installed module☆58Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Get the path to an app (macOS)☆63Updated 3 years ago
- Get or check the current macOS version☆62Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆124Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Indent each line in a string☆113Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 8 months ago
- Get the user's default shell☆40Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 4 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Get the latest version of an npm package☆53Updated last year
- Get the command history of the user's shell☆85Updated 2 years ago
- Filter object keys and values into a new object☆102Updated last year
- Lazy number range generator☆81Updated last year
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Get the remote origin URL of a Git repository☆46Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Check if a process is running☆58Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year