cosmiconfig 9.0.0-alpha.2
Find and load configuration from a package.json property, rc file, TypeScript module, and more!
cosmiconfig@9.0.0-alpha.2 was published on 2023-11-12. Its manifest declares 5 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.
All cosmiconfig versions · Permanent reference to 9.0.0-alpha.2 · Latest release
Package specifications
| Version | 9.0.0-alpha.2 |
|---|---|
| License declaration | MIT |
| Published | 2023-11-12T17:09:16.181Z |
| Node.js requirement | >=14 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 5 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 104.17 KiB |
| Published file count | 39 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Runs install scripts | No — none of those install hooks is declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 17 |
| Repository stars | 4172 |
| Repository forks | 150 |
Install cosmiconfig 9.0.0-alpha.2
npm install cosmiconfig@9.0.0-alpha.2 pnpm add cosmiconfig@9.0.0-alpha.2 yarn add cosmiconfig@9.0.0-alpha.2
Runtime dependencies
- js-yaml ^4.1.0
- env-paths ^2.2.1
- path-type ^4.0.0
- parse-json ^5.2.0
- import-fresh ^3.3.0
Peer requirements
- typescript >=4.9.5 (optional peer)
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
- argparse@2.0.1 — indirect
- callsites@3.1.0 — indirect
- env-paths@2.2.1 — direct
- error-ex@1.3.4 — indirect
- import-fresh@3.3.1 — direct
- is-arrayish@0.2.1 — indirect
- js-tokens@4.0.0 — indirect
- js-yaml@4.3.2 — direct
- 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
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/9.0.0-alpha.2 — retrieved 2026-11-28T02:10:40.080Z
- https://api.deps.dev/v3/systems/npm/packages/cosmiconfig/versions/9.0.0-alpha.2 — retrieved 2026-11-28T02:10:40.536Z
- https://api.deps.dev/v3/systems/npm/packages/cosmiconfig/versions/9.0.0-alpha.2:dependencies — retrieved 2026-11-28T02:10:40.567Z
- https://api.deps.dev/v3/projects/github.com%2Fcosmiconfig%2Fcosmiconfig — retrieved 2026-11-28T02:10:41.215Z