Get environment variables from the shell
☆87Feb 1, 2026Updated 5 months ago
Alternatives and similar repositories for shell-env
Users that are interested in shell-env are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Truncate a semver version: 1.2.3 → 1.2.0☆17Jul 9, 2022Updated 4 years ago
- Get the command history of the user's shell☆86Nov 2, 2025Updated 8 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 4 years ago
- Get the user's default shell☆43Sep 11, 2025Updated 10 months ago
- Get the $PATH from the shell☆81Aug 21, 2025Updated 11 months ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated 2 years ago
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Parse text columns, like the output of unix commands☆84Sep 9, 2025Updated 10 months ago
- Get the path of the current directory in Finder (macOS)☆16Apr 15, 2021Updated 5 years ago
- Get the URL from a web shortcut file☆15Aug 14, 2021Updated 4 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 4 years ago
- Get the path of the parent module☆78Sep 15, 2025Updated 10 months ago
- Hook and modify stdout and stderr☆56Sep 9, 2025Updated 10 months ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Get the visual width of a string - the number of columns required to display it☆13Oct 28, 2023Updated 2 years ago
- Get free disk space info from `df -kP`☆65Sep 13, 2025Updated 10 months ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Modify the values of an object☆28Sep 10, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 5 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 4 years ago
- Use fluent property chains in lieu of options objects☆21Jan 6, 2020Updated 6 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 5 years ago
- Get the path to an app (macOS)☆48May 3, 2021Updated 5 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 5 months ago
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 5 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated 6 months ago
- Regular expression for matching scoped npm package names☆28Jul 9, 2022Updated 4 years ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Get or check the current macOS version☆61Aug 12, 2021Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 4 years ago
- Check if your code is running in a JXA environment☆33Sep 18, 2021Updated 4 years ago
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Get the path to this package - Useful for testing☆23May 6, 2026Updated 2 months ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Try to downgrade the permissions of a process with root privileges☆17Aug 31, 2023Updated 2 years ago