sindresorhus / shell-envLinks
Get environment variables from the shell
☆83Updated 3 months ago
Alternatives and similar repositories for shell-env
Users that are interested in shell-env are comparing it to the libraries listed below
Sorting:
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Get the $PATH from the shell☆78Updated 4 months ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Get the user's default shell☆41Updated 3 months ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆126Updated last year
- Copy a file☆122Updated 4 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Check if your code is running in a JXA environment☆32Updated 4 years ago
- Get the path to an app (macOS)☆64Updated 3 years ago
- Lazy number range generator☆82Updated last year
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Check if a Mac camera is on☆97Updated 2 months ago
- Regular expression for matching issue references☆49Updated last year
- Get the command history of the user's shell☆86Updated last month
- Get the path of the caller module☆67Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Prints the current date and time as a UNIX timestamp or custom format☆48Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Get or check the current macOS version☆61Updated 4 years ago
- Import a globally installed module☆58Updated last year
- Resolve the path of a globally installed module☆41Updated 2 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Truncate a string to a specific width in the terminal☆88Updated last month
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Extract the article title of a HTML document☆56Updated 3 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago