Get paths for storing things like data, config, cache, etc
☆453Jan 24, 2026Updated 6 months ago
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,345Updated this week
- Display an error in a GUI dialog☆22May 3, 2021Updated 5 years ago
- Get XDG Base Directory paths☆94Aug 5, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Copy a file☆123Aug 13, 2025Updated 11 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Reliably get the terminal window size☆148Feb 2, 2026Updated 5 months ago
- Clean up error stack traces☆346Nov 4, 2025Updated 8 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- 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 10 months ago
- 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`☆481Sep 10, 2025Updated 10 months ago
- Lazy number range generator☆82Jan 2, 2024Updated 2 years ago
- Regular expression for matching reserved filename characters☆52Sep 14, 2025Updated 10 months ago
- 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☆107Jul 8, 2022Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 4 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 10 months ago
- Parse text columns, like the output of unix commands☆84Sep 9, 2025Updated 10 months ago
- Create an error from multiple errors☆247Sep 14, 2023Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Sep 11, 2025Updated 10 months ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 4 years ago
- Get the directory of globally installed packages and binaries☆77Feb 2, 2026Updated 5 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 4 years ago
- Read the closest package.json file☆268Nov 7, 2025Updated 8 months ago
- Get the first path that exists on disk of multiple paths☆64Sep 15, 2025Updated 10 months ago
- Left pad each line in a string☆20Aug 31, 2023Updated 2 years ago
- Convert a string to a valid safe filename☆521Jun 16, 2026Updated last month
- Get the macOS version of the current system☆23Sep 9, 2025Updated 10 months ago
- Get the path to an app (macOS)☆64Jul 9, 2022Updated 4 years ago
- Find a file or directory by walking up parent directories☆642Sep 16, 2025Updated 10 months ago
- Ensure a function is only called once☆167Feb 2, 2026Updated 5 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Check if JPEG images are progressive☆36Jul 6, 2024Updated 2 years ago
- Convert a value to an array☆133Nov 9, 2021Updated 4 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated 2 years ago
- Reliably get the terminal window size - cross-platform☆27Nov 4, 2023Updated 2 years ago
- Terminal task list☆3,292Aug 28, 2022Updated 3 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Check if a string is a valid filename☆60Aug 16, 2021Updated 4 years ago