{"library":"zod-package-json","type":"library","category":null,"description":"A Zod v4 schema for validating full package.json files. Version 2.1.0 is latest, actively maintained, and requires Node >=20 and Zod ^4.0.0 as a peer dependency. It covers all npm-documented properties plus TypeScript- and Node-specific fields, preserves unknown properties, and exports both classic Zod and Zod mini schemas. Compared to ad‑hoc schemas, it is comprehensive, typed, and kept current with npm's docs.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","zod","schema","package","json","typescript","npm"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install zod-package-json","imports":["import { PackageJson } from 'zod-package-json'","import { PackageJson } from 'zod-package-json/mini'","import { PackageJson } from 'zod-package-json';\ntype Pkg = typeof PackageJson._type;","// Not exported directly; import zod separately"]},{"cmd":"yarn add zod-package-json","imports":[]},{"cmd":"pnpm add zod-package-json","imports":[]}],"homepage":"https://github.com/velut/zod-package-json#readme","github":"https://github.com/velut/zod-package-json","docs":null,"changelog":null,"pypi":null,"npm":"zod-package-json","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}