Get paths for storing things like data, config, cache, etc
☆454Sep 18, 2026Updated this week
Alternatives and similar repositories for env-paths
Users that are interested in env-paths are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Simple config handling for your app or module☆1,346Updated this week
- Display an error in a GUI dialog☆22May 3, 2021Updated 5 years ago
- Get XDG Base Directory paths☆94Updated this week
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated this week
- Copy a file☆122Jul 25, 2026Updated last month
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Reliably get the terminal window size☆149Updated this week
- Clean up error stack traces☆346Updated this week
- Strip redundant indentation and indent the string☆55Updated this week
- Get a random property from an object☆15Jul 2, 2024Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆159Sep 17, 2025Updated last year
- Bind all methods in an object to itself or a specified context☆59Apr 19, 2021Updated 5 years ago
- Make a directory and its parents if needed - Think `mkdir -p`☆480Updated this week
- Lazy number range generator☆82Jan 2, 2024Updated 2 years ago
- Regular expression for matching reserved filename characters☆52Updated this week
- 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.
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated this week
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Updated this week
- Detect the dominant newline character of a string☆55Updated this week
- Check if it's the first time the process is run☆83Sep 12, 2025Updated last year
- Parse text columns, like the output of unix commands☆84Updated this week
- Create an error from multiple errors☆247Updated this week
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆143Updated this week
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 5 years ago
- Get the directory of globally installed packages and binaries☆78Updated this week
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Read the closest package.json file☆266Updated this week
- Left pad each line in a string☆20Updated this week
- Get the first path that exists on disk of multiple paths☆64Updated this week
- Convert a string to a valid safe filename☆525Aug 28, 2026Updated 3 weeks ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated last year
- Get the path to an app (macOS)☆63Updated this week
- Find a file or directory by walking up parent directories☆643Updated this week
- Ensure a function is only called once☆166Updated this week
- 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.
- Check if JPEG images are progressive☆36Jul 6, 2024Updated 2 years ago
- Convert a value to an array☆132Updated this week
- Check if a file path is an archive file☆15Apr 30, 2024Updated 2 years ago
- Terminal task list☆3,288Aug 28, 2022Updated 4 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Check if a string is a valid filename☆60Aug 28, 2026Updated 3 weeks ago
- Check if a path is a file, directory, or symlink☆81Updated this week