Get environment variables from the shell
☆87Sep 18, 2026Updated last month
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:
- Get the command history of the user's shell☆87Nov 2, 2025Updated 11 months ago
- Get the user's default shell☆43Sep 18, 2026Updated last month
- Get the $PATH from the shell☆80Aug 21, 2025Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated last month
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated 2 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 the path of the current directory in Finder (macOS)☆16Apr 15, 2021Updated 5 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Escape a string for use in AppleScript☆14Sep 18, 2026Updated last month
- Get the visual width of a string - the number of columns required to display it☆13Oct 28, 2023Updated 3 years ago
- Use fluent property chains in lieu of options objects☆21Jan 6, 2020Updated 6 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated last month
- Get the path to an app (macOS)☆64Sep 18, 2026Updated last month
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 5 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated last month
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 5 years ago
- Check if your code is running in a JXA environment☆33Sep 18, 2021Updated 5 years ago
- Get the path of the parent module☆78Sep 18, 2026Updated last month
- Parse text columns, like the output of unix commands☆84Sep 20, 2026Updated last month
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated last month
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Sep 18, 2026Updated last month
- Strip a path from a path☆18Aug 18, 2021Updated 5 years ago
- Hook and modify stdout and stderr☆56Sep 18, 2026Updated last month
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆29Aug 9, 2021Updated 5 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 8 months ago
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 5 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Sep 18, 2026Updated last month
- Modify the values of an object☆28Sep 18, 2026Updated last month
- List of common default router IP addresses☆17Sep 18, 2026Updated last month
- adds line numbers to a source string☆10Sep 10, 2020Updated 6 years ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆25Oct 7, 2021Updated 5 years ago
- Get the path to this package - Useful for testing☆22May 6, 2026Updated 5 months ago
- Get the path to an app (macOS)☆48May 3, 2021Updated 5 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆18Aug 9, 2021Updated 5 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Normalize the newline characters in a string to `\n`☆30Sep 18, 2026Updated last month
- Get or check the current macOS version☆61Aug 12, 2021Updated 5 years ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated last year
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Open a website in a popup (macOS)☆18Feb 18, 2021Updated 5 years ago