Find the root directory of a Node.js project or npm package
☆255Sep 18, 2026Updated 2 months ago
Alternatives and similar repositories for package-directory
Users that are interested in package-directory are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Find a file or directory by walking up parent directories☆643Sep 18, 2026Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆65Sep 18, 2026Updated 2 months ago
- Find the closest package.json file☆166Sep 18, 2026Updated 2 months ago
- Strip the final newline character from a string/buffer☆39Sep 18, 2026Updated 2 months ago
- Let a globally installed package use a locally installed version of itself if available☆156Sep 18, 2026Updated 2 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.
- Read a package.json file☆177Sep 18, 2026Updated 2 months ago
- Check if a path is inside another path☆41Sep 18, 2026Updated 2 months ago
- Check if a path is a file, directory, or symlink☆82Sep 18, 2026Updated 2 months ago
- Make a function mimic another one☆98Sep 18, 2026Updated 2 months ago
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- Resolve the path of a module like require.resolve() but from a given path☆146Sep 18, 2026Updated 2 months ago
- Check if a file path is a binary file☆50Sep 18, 2026Updated 2 months ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 2 months ago
- Read the closest package.json file☆267Sep 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.
- Gracefully restore the CLI cursor on exit☆43Sep 18, 2026Updated 2 months ago
- Check if a path exists☆156Sep 18, 2026Updated 2 months ago
- Create an array with values that are present in the first input array but not additional ones☆39Sep 18, 2026Updated 2 months ago
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated 2 months ago
- Check if something is a Node.js stream☆117Sep 18, 2026Updated 2 months ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 2 months ago
- DES for browserify☆10Dec 21, 2024Updated last year
- Convert a value to an array☆135Sep 18, 2026Updated 2 months ago
- Start a promise chain☆62Sep 18, 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.
- Get your PATH prepended with locally installed binaries☆110Sep 18, 2026Updated 2 months ago
- Get the first fulfilled promise that satisfies the provided testing function☆83Sep 18, 2026Updated 2 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆71Sep 18, 2026Updated 2 months ago
- Minimal module to check if a file is executable.☆55Feb 9, 2026Updated 9 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Sep 18, 2026Updated 2 months ago
- Toggle the CLI cursor☆117Sep 18, 2026Updated 2 months ago
- Check if a value is a plain object☆110Sep 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.
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated 2 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Autoload Plugins for PostCSS☆20May 11, 2020Updated 6 years ago
- Read and parse a JSON file☆250Sep 18, 2026Updated 2 months ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 5 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Get the real path of the system temp directory☆85Sep 18, 2026Updated 2 months ago
Are these results useful?