extract-first-json 2.0.2
Extract the first JSON object or array from a string
extract-first-json@2.0.2 was published on 2023-01-30. Its manifest declares 2 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^14.13.1 || >=16.0.0.
All extract-first-json versions · Permanent reference to 2.0.2 · Latest release
Package specifications
| Version | 2.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2023-01-30T00:19:31.192Z |
| Node.js requirement | ^14.13.1 || >=16.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 5.97 KiB |
| Published file count | 8 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | .auto/build/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 5 |
| Repository stars | 6 |
| Repository forks | 2 |
Install extract-first-json 2.0.2
npm install extract-first-json@2.0.2 pnpm add extract-first-json@2.0.2 yarn add extract-first-json@2.0.2
Runtime dependencies
- parse-json-object ^3.0.1
- reduce-first ^2.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.
- is-zod@1.0.0 — indirect
- parse-json-object@3.0.1 — direct
- reduce-first@2.0.0 — direct
- types-json@4.0.1 — indirect
- zod@3.25.76 — 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.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Code-Review | 0/10 — Found 1/17 approved changesets -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 0/10 — license file not detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/extract-first-json/2.0.2 — retrieved 2026-10-31T09:06:36.778Z
- https://api.deps.dev/v3/systems/npm/packages/extract-first-json/versions/2.0.2:dependencies — retrieved 2026-10-31T09:06:37.106Z
- https://api.deps.dev/v3/systems/npm/packages/extract-first-json/versions/2.0.2 — retrieved 2026-10-31T09:06:37.168Z
- https://api.deps.dev/v3/projects/github.com%2Fbconnorwhite%2Fextract-first-json — retrieved 2026-10-31T09:06:37.551Z