sindresorhus / shell-envLinks
Get environment variables from the shell
☆83Updated 2 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 2 months ago
- Get the $PATH from the shell☆74Updated 3 months ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Get the user's default shell☆41Updated 2 months ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆126Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Get the path of the caller module☆67Updated 4 years ago
- Resolve the path of a globally installed module☆41Updated 2 years ago
- Check if your package was installed globally☆70Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Get the real path of the system temp directory☆84Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Get the path to an app (macOS)☆64Updated 3 years ago
- Copy a file☆122Updated 3 months ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Get metadata on the default editor or a specific editor☆55Updated 2 months ago
- Lazy number range generator☆82Updated last year
- Extract the article title of a HTML document☆56Updated 2 months ago
- Get or check the current macOS version☆61Updated 4 years ago
- Truncate a string to a specific width in the terminal☆88Updated last month
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Updated 4 years ago
- Check if a process is running☆60Updated 4 years ago
- Indent each line in a string☆114Updated 3 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆36Updated last year
- Parse `.git/config` into a JavaScript object. sync or async.☆62Updated 7 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Import a globally installed module☆58Updated last year