Get environment variables from the shell
☆87Sep 18, 2026Updated 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. 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 last year
- Get the user's default shell☆43Sep 18, 2026Updated 2 months ago
- Get the $PATH from the shell☆80Aug 21, 2025Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated 2 months ago
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated 2 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 the path of the current directory in Finder (macOS)☆17Apr 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 2 months ago
- 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 2 months ago
- Get the path to an app (macOS)☆64Sep 18, 2026Updated 2 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated 2 months ago
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 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.
- Check if your code is running in a JXA environment☆34Sep 18, 2021Updated 5 years ago
- Parse text columns, like the output of unix commands☆84Sep 20, 2026Updated 2 months ago
- Get the path of the parent module☆78Sep 18, 2026Updated 2 months ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆20Aug 10, 2021Updated 5 years ago
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated 2 months ago
- Strip a path from a path☆18Aug 18, 2021Updated 5 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Sep 18, 2026Updated 2 months ago
- Hook and modify stdout and stderr☆56Sep 18, 2026Updated 2 months ago
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 9 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.
- 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 2 months ago
- Modify the values of an object☆28Sep 18, 2026Updated 2 months ago
- List of common default router IP addresses☆17Sep 18, 2026Updated 2 months ago
- adds line numbers to a source string☆10Sep 10, 2020Updated 6 years ago
- Get the path to this package - Useful for testing☆22May 6, 2026Updated 6 months ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 3 years ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆26Oct 7, 2021Updated 5 years ago
- Get the path to an app (macOS)☆49May 3, 2021Updated 5 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Normalize the newline characters in a string to `\n`☆30Sep 18, 2026Updated 2 months ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆29Aug 9, 2021Updated 5 years ago
- Get or check the current macOS version☆62Aug 12, 2021Updated 5 years ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated last year
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆19Aug 9, 2021Updated 5 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 5 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
Are these results useful?