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 are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. 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

Projects sharing features with Package Directory

These projects share indexed features with Package Directory. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • 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
Compare all 23 related projects→

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.

Which projects share features with sindresorhus/package-directory?

Projects with overlapping indexed features 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…