awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
sindresorhus avatar

sindresorhus/package-directory

0
View on GitHub↗
252 stars·21 forks·JavaScript·MIT·8 views

Package Directory

Find the root directory of a Node.js project or npm package

Features

  • Filesystem Utilities - Utility to locate the root directory of an npm package.

Star history

Star history chart for sindresorhus/package-directoryStar history chart for sindresorhus/package-directory

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Package Directory

Similar open-source projects, ranked by how many features they share with Package Directory.
  • bevry/istextorbinarybevry avatar

    bevry/istextorbinary

    157View on GitHub↗

    Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.

    TypeScript
    View on GitHub↗157
  • ehmicky/global-cache-direhmicky avatar

    ehmicky/global-cache-dir

    6View on GitHub↗

    Get the global cache directory.

    JavaScript
    View on GitHub↗6
  • isaacs/node-graceful-fsisaacs avatar

    isaacs/node-graceful-fs

    1,302View on GitHub↗

    fs with incremental backoff on EMFILE

    JavaScript
    View on GitHub↗1,302
  • bcoe/any-pathbcoe avatar

    bcoe/any-path

    4View on GitHub↗

    For when the keys in an object represent paths, and you want to be able to fetch them regardless of your operating system's preference for path separators (\, /).

    JavaScript
    View on GitHub↗4
See all 23 alternatives to Package Directory→

Frequently asked questions

What does sindresorhus/package-directory do?

Find the root directory of a Node.js project or npm package

What are the main features of sindresorhus/package-directory?

The main features of sindresorhus/package-directory are: Filesystem Utilities.

What are some open-source alternatives to sindresorhus/package-directory?

Open-source alternatives to sindresorhus/package-directory include: bevry/istextorbinary — Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions. ehmicky/global-cache-dir — Get the global cache directory. isaacs/node-graceful-fs — fs with incremental backoff on EMFILE. isaacs/rimraf — rimraf is a Node.js recursive file deletion tool and cross-platform filesystem utility. It provides both a… jprichardson/node-fs-extra — node-fs-extra is a Node.js file system extension that provides a set of additional methods to simplify common file and… bcoe/any-path — For when the keys in an object represent paths, and you want to be able to fetch them regardless of your operating…