Get paths for storing things like data, config, cache, etc
☆457Sep 18, 2026Updated 2 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,356Oct 12, 2026Updated last month
- Get XDG Base Directory paths☆94Sep 18, 2026Updated 2 months ago
- Copy a file☆123Jul 25, 2026Updated 3 months ago
- Clean up error stack traces☆347Nov 2, 2026Updated 2 weeks ago
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated 2 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.
- Check if a path is a file, directory, or symlink☆82Sep 18, 2026Updated 2 months ago
- Reliably get the terminal window size☆149Sep 20, 2026Updated 2 months ago
- Make a directory and its parents if needed - Think `mkdir -p`☆482Sep 18, 2026Updated 2 months ago
- Lazy number range generator☆82Jan 2, 2024Updated 2 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated last year
- Display an error in a GUI dialog☆22May 3, 2021Updated 5 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Ensures a value is a valid error by making it one if not☆95Sep 15, 2025Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Sep 18, 2026Updated 2 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.
- Get the directory of globally installed packages and binaries☆78Sep 18, 2026Updated 2 months ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆162Oct 29, 2026Updated 3 weeks ago
- Check if a string is a valid filename☆61Aug 28, 2026Updated 2 months ago
- Find the root directory of a Node.js project or npm package☆255Sep 18, 2026Updated 2 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated 2 months ago
- Write a package.json file☆89Sep 18, 2026Updated 2 months ago
- Read the closest package.json file☆267Sep 18, 2026Updated 2 months ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated 2 months ago
- Get a random property from an object☆15Jul 2, 2024Updated 2 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.
- Create an error from multiple errors☆249Oct 14, 2026Updated last month
- Get the first path that exists on disk of multiple paths☆65Sep 18, 2026Updated 2 months ago
- Terminal task list☆3,282Aug 28, 2022Updated 4 years ago
- Get namespaced config from the closest package.json☆118Sep 18, 2026Updated 2 months ago
- Get your PATH prepended with locally installed binaries☆110Sep 18, 2026Updated 2 months ago
- Detect the dominant newline character of a string☆56Sep 18, 2026Updated 2 months ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Sep 18, 2026Updated 2 months ago
- Import a module like with `require()` but from a given path☆85Sep 18, 2026Updated 2 months ago
- Convert a value to an array☆135Sep 18, 2026Updated 2 months 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.
- Process execution for humans☆7,653Updated this week
- Find a file or directory by walking up parent directories☆643Sep 18, 2026Updated 2 months ago
- Get a random temporary file or directory path☆447Sep 18, 2026Updated 2 months ago
- Get the username of the current user☆145Nov 14, 2023Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Sep 18, 2026Updated 2 months ago
- Copy files☆441Sep 1, 2026Updated 2 months ago
- Run some code when the process exits☆301Sep 18, 2026Updated 2 months ago
Are these results useful?