sindresorhus / shell-envLinks
Get environment variables from the shell
☆85Updated 2 weeks 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 $PATH from the shell☆78Updated 5 months ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Get the real path of the system temp directory☆85Updated 3 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆107Updated last year
- Copy a file☆123Updated 5 months ago
- Get the path to an app (macOS)☆64Updated 3 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Lazy number range generator☆83Updated 2 years ago
- Import a globally installed module☆59Updated 2 years ago
- Regular expression for matching issue references☆49Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Check if your code is running in a JXA environment☆32Updated 4 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Indent each line in a string☆115Updated 3 years ago
- Get the user's default shell☆41Updated 4 months ago
- Resolve the path of a globally installed module☆42Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Truncate a string to a specific width in the terminal☆88Updated 3 months ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆126Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Updated 4 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Check if it's the first time the process is run☆83Updated 4 months ago
- Get or check the current macOS version☆62Updated 4 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆36Updated last year
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Check if a Mac camera is on☆97Updated 4 months ago
- Get the fullname of the current user☆48Updated 2 years ago