cosmiconfig 7.1.0
Find and load configuration from a package.json property, rc file, or CommonJS module
cosmiconfig@7.1.0 was published on 2022-11-12. Its manifest declares 5 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=10.
All cosmiconfig versions · Permanent reference to 7.1.0 · Latest release
Package specifications
| Version | 7.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2022-11-12T14:18:30.020Z |
| Node.js requirement | >=10 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 89.85 KiB |
| Published file count | 43 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 16 |
| Repository stars | 4169 |
| Repository forks | 146 |
Install cosmiconfig 7.1.0
npm install cosmiconfig@7.1.0 pnpm add cosmiconfig@7.1.0 yarn add cosmiconfig@7.1.0
Runtime dependencies
- yaml ^1.10.0
- path-type ^4.0.0
- parse-json ^5.0.0
- import-fresh ^3.2.1
- @types/parse-json ^4.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/code-frame@7.29.7 — indirect
- @babel/helper-validator-identifier@7.29.7 — indirect
- @types/parse-json@4.0.2 — direct
- callsites@3.1.0 — indirect
- error-ex@1.3.4 — indirect
- import-fresh@3.3.1 — direct
- is-arrayish@0.2.1 — indirect
- js-tokens@4.0.0 — indirect
- json-parse-even-better-errors@2.3.1 — indirect
- lines-and-columns@1.2.4 — indirect
- parent-module@1.0.1 — indirect
- parse-json@5.2.0 — direct
- path-type@4.0.0 — direct
- picocolors@1.1.1 — indirect
- resolve-from@4.0.0 — indirect
- yaml@1.10.3 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 1/10 — Found 5/30 approved changesets -- score normalized to 1 |
|---|---|
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Maintained | 10/10 — 15 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/cosmiconfig/7.1.0 — retrieved 2026-10-29T08:51:52.562Z
- https://api.deps.dev/v3/projects/github.com%2Fcosmiconfig%2Fcosmiconfig — retrieved 2026-10-29T07:27:34.686Z
- https://api.deps.dev/v3/systems/npm/packages/cosmiconfig/versions/7.1.0 — retrieved 2026-10-29T08:51:53.099Z
- https://api.deps.dev/v3/systems/npm/packages/cosmiconfig/versions/7.1.0:dependencies — retrieved 2026-10-29T08:51:53.123Z