Get paths for storing things like data, config, cache, etc
☆455Sep 18, 2026Updated last month
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:
- Get XDG Base Directory paths☆94Sep 18, 2026Updated last month
- Simple config handling for your app or module☆1,351Oct 12, 2026Updated 3 weeks ago
- Copy a file☆123Jul 25, 2026Updated 3 months ago
- Clean up error stack traces☆346Sep 18, 2026Updated last month
- Reliably get the terminal window size☆149Sep 20, 2026Updated last month
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated last month
- Lazy number range generator☆82Jan 2, 2024Updated 2 years ago
- Make a directory and its parents if needed - Think `mkdir -p`☆481Sep 18, 2026Updated last month
- Check if it's the first time the process is run☆83Sep 12, 2025Updated last year
- Check if a path is a file, directory, or symlink☆81Sep 18, 2026Updated last month
- Display an error in a GUI dialog☆22May 3, 2021Updated 5 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Sep 18, 2026Updated last month
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆162Sep 17, 2025Updated last year
- 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.
- Write a package.json file☆89Sep 18, 2026Updated last month
- Create an error from multiple errors☆248Oct 14, 2026Updated 2 weeks ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated last month
- Read the closest package.json file☆267Sep 18, 2026Updated last month
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated last month
- Get a random property from an object☆15Jul 2, 2024Updated 2 years ago
- Low level bit encoder for buffers☆17Aug 6, 2016Updated 10 years ago
- Find the root directory of a Node.js project or npm package☆254Sep 18, 2026Updated last month
- Terminal task list☆3,285Aug 28, 2022Updated 4 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.
- Ensures a value is a valid error by making it one if not☆95Sep 15, 2025Updated last year
- Get namespaced config from the closest package.json☆118Sep 18, 2026Updated last month
- Detect the dominant newline character of a string☆56Sep 18, 2026Updated last month
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Sep 18, 2026Updated last month
- Import a module like with `require()` but from a given path☆85Sep 18, 2026Updated last month
- Process execution for humans☆7,634Oct 23, 2026Updated last week
- Get a random temporary file or directory path☆447Sep 18, 2026Updated last month
- Get the username of the current user☆145Nov 14, 2023Updated 2 years ago
- Convert a string to a valid safe filename☆526Aug 28, 2026Updated 2 months 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.
- Find a file or directory by walking up parent directories☆642Sep 18, 2026Updated last month
- Check if a string is a valid filename☆61Aug 28, 2026Updated 2 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Sep 18, 2026Updated last month
- Copy files☆440Sep 1, 2026Updated 2 months ago
- Run some code when the process exits☆301Sep 18, 2026Updated last month
- Get your PATH prepended with locally installed binaries☆109Sep 18, 2026Updated last month
- Move a file, directory, or symlink - Even works across devices☆208Sep 18, 2026Updated last month