sindresorhus / shell-env
Get environment variables from the shell
☆79Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for shell-env
- Get the directory of globally installed packages and binaries☆75Updated last year
- Resolve the path of a globally installed module☆41Updated last year
- Get the $PATH from the shell☆67Updated 3 years ago
- Lazy number range generator☆82Updated 10 months ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Import a globally installed module☆57Updated 10 months ago
- Get your PATH prepended with locally installed binaries☆104Updated 3 weeks ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Get the path to an app (macOS)☆63Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 6 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Returns an array filled with the specified input☆43Updated 2 years ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- Find multiple RegExp matches in a string☆93Updated 2 years ago
- Get the command history of the user's shell☆84Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Scaffold out a CLI based on Ink☆25Updated 6 years ago
- Toggle the CLI cursor☆103Updated 3 months ago
- Extract the article title of a HTML document☆54Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get or check the current macOS version☆62Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 6 months ago
- Easily calculate the relative path from file A to file B in Node.js project. Will calculate correctly from a file to a directory, file to…☆34Updated last year
- Simple wildcard matching☆34Updated 3 years ago