sindresorhus / shell-path
Get the $PATH from the shell
☆67Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for shell-path
- Get environment variables from the shell☆79Updated 3 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Returns an array filled with the specified input☆43Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 6 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago
- Extract the actual stack of an error☆67Updated 2 years ago
- Resolve the path of a globally installed module☆41Updated last year
- Check if an Iterable is empty☆22Updated 3 years ago
- Install dependencies using Yarn with npm fallback.☆29Updated last year
- Get the callsite of the caller function☆53Updated 3 years ago
- Scaffold out a CLI based on Ink☆25Updated 6 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated 6 months ago
- Do stuff with Node.js's native JavaScript modules☆31Updated 2 years ago
- Truncate a URL to a specific length☆61Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Log the value/error of a promise☆26Updated 3 years ago
- Get an array of parent directories including itself☆27Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Check if a file is executable☆31Updated 6 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Create an array without duplicates☆70Updated 3 years ago
- Lazy number range generator☆82Updated 10 months ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆60Updated 7 months ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Extract the article title of a HTML document☆54Updated 2 years ago
- Clean up regular expressions☆61Updated 3 months ago