cosmiconfig
Finds and loads a tool's config from package.json, rc files or JS/TS config modules.
3. Used by agents' projects
Dependency in 2 public GitHub projects set up for AI coding agents that we scanned (0.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What cosmiconfig does
Finds and loads a tool's config from package.json, rc files or JS/TS config modules.
cosmiconfig popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How cosmiconfig is used
- cosmiconfig joined the catalog on its public numbers (179,222,993 downloads a week on npm and 4,172 GitHub stars), not on our project count: it is a dependency in 11 public GitHub projects of our scan, 2 of them set up for AI coding agents.
- Projects that use it most often also use chalk (54.5%), Commander (54.5%), glob (54.5%).
Often used with
More about cosmiconfig
Funding
- GitHub Sponsors: https://github.com/d-fischer
- Own page: https://paypal.me/dfischerdev
- 4 GitHub sponsors
More in Dev workflow and config
Alternatives
cosmiconfig This page
Get started
Install it.
npm install cosmiconfigNo step-by-step start for cosmiconfig yet: we have not written its hand-checked card.