{"_id":"@duocrafters/notion-database-zod","_rev":"4-89f76817ad9f86183ea076e54e0ce0e9","name":"@duocrafters/notion-database-zod","dist-tags":{"latest":"0.4.1"},"versions":{"0.2.0":{"name":"@duocrafters/notion-database-zod","version":"0.2.0","keywords":["notion","zod","typescript"],"author":{"name":"Vaduo Consulting"},"license":"MIT","_id":"@duocrafters/notion-database-zod@0.2.0","maintainers":[{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"}],"homepage":"https://github.com/duocrafters/notion-database-zod","bugs":{"url":"https://github.com/duocrafters/notion-database-zod/issues"},"dist":{"shasum":"79e534ba0865f6b17f6962e7163367d7802da7ab","tarball":"https://registry.npmjs.org/@duocrafters/notion-database-zod/-/notion-database-zod-0.2.0.tgz","fileCount":47,"integrity":"sha512-gYM6KyF3REHQH9aixAH6bewkMH0Rlzvpl8uCC+hpIFbNOnbemUkbbkLMhOvzNUWi9s9kUz5X5DElKti2FvP3ug==","signatures":[{"sig":"MEQCIEIVlfnO+jNte4d8QGRSX2jSyOBHtsHllfxz7Zuso/DDAiBHNZ1hKZC4EpQiEbs5Qvj3Xx5KRwqc5SVXr5QAy6YE0g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121858},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"472970e56853eba4529daf179a2404d9c81ddd1f","scripts":{"ci":"npm run build && npm run check-format && npm run test","dev":"vitest","test":"vitest run","build":"tsc","format":"prettier --write .","check-format":"prettier --check .","local-release":"changeset version && changeset publish","prepublishOnly":"npm run ci"},"_npmUser":{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"},"repository":{"url":"git+https://github.com/duocrafters/notion-database-zod.git","type":"git"},"_npmVersion":"10.9.0","description":"A Notion Database to Zod converter","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"^3.25.76","@notionhq/client":"^2.2.15"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.2","@changesets/cli":"^2.29.6"},"_npmOperationalInternal":{"tmp":"tmp/notion-database-zod_0.2.0_1755775028290_0.7106092558191257","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@duocrafters/notion-database-zod","version":"0.3.0","keywords":["notion","zod","typescript"],"author":{"name":"Vaduo Consulting"},"license":"MIT","_id":"@duocrafters/notion-database-zod@0.3.0","maintainers":[{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"}],"homepage":"https://github.com/duocrafters/notion-database-zod","bugs":{"url":"https://github.com/duocrafters/notion-database-zod/issues"},"dist":{"shasum":"097456c47dd5a7e52453598fc4e8c5da99f5bdb5","tarball":"https://registry.npmjs.org/@duocrafters/notion-database-zod/-/notion-database-zod-0.3.0.tgz","fileCount":47,"integrity":"sha512-E/nI08MoAIQcOoY9aKwqlHnXVCbg+Neuko6b6q3MUT8X7ZBsUXy4p57w1bpmSHy/r7Bsm+b5nLbcGXiE3uZC8A==","signatures":[{"sig":"MEYCIQC1SJDSbHgBTHsQ4PXA/M3ewJ25cJv74lZBoz4xJva/3QIhAJr817WMOFyqc9uybCBfzbmfW99rR5LucpqIFRPZVAuR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":117503},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"9e92598529c6e6295b26fe5dd740b7f70be92c9a","scripts":{"ci":"npm run build && npm run check-format && npm run test","dev":"vitest","test":"vitest run","build":"tsc","format":"prettier --write .","check-format":"prettier --check .","local-release":"changeset version && changeset publish","prepublishOnly":"npm run ci"},"_npmUser":{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"},"repository":{"url":"git+https://github.com/duocrafters/notion-database-zod.git","type":"git"},"_npmVersion":"10.9.0","description":"A Notion Database to Zod converter","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"^3.25.76","@notionhq/client":"^2.2.15"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.2","@changesets/cli":"^2.29.6","@duocrafters/notion-database-zod":"^0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/notion-database-zod_0.3.0_1755776388776_0.6105222091463749","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@duocrafters/notion-database-zod","version":"0.4.0","keywords":["notion","zod","typescript"],"author":{"name":"Vaduo Consulting"},"license":"MIT","_id":"@duocrafters/notion-database-zod@0.4.0","maintainers":[{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"}],"homepage":"https://github.com/duocrafters/notion-database-zod","bugs":{"url":"https://github.com/duocrafters/notion-database-zod/issues"},"dist":{"shasum":"06d57764188ddbcc06a67ffffa46293688ad20e4","tarball":"https://registry.npmjs.org/@duocrafters/notion-database-zod/-/notion-database-zod-0.4.0.tgz","fileCount":47,"integrity":"sha512-8HhiYva0GHg2UuxQJNfLWGqL5UcemqQG2oA7az2v5E+np5bJHycs6zDSkUtdBWR1i33RmLLOG2szCLq0du9RJg==","signatures":[{"sig":"MEUCIC+bnx7Kk+a7RgsK3yUKeIQuv80zgdjY+l+fPOa8qYjgAiEAr7Yr93r5bSBvGhJ5oiY8nKYDxBLw0YAnEWDCUv0XULw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118062},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"04ab997fe70d16cb5ed5e12fe6ebbb0e1a601e93","scripts":{"ci":"npm run build && npm run check-format && npm run test","dev":"vitest","test":"vitest run","build":"tsc","format":"prettier --write .","check-format":"prettier --check .","local-release":"changeset version && changeset publish","prepublishOnly":"npm run ci"},"_npmUser":{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"},"repository":{"url":"git+https://github.com/duocrafters/notion-database-zod.git","type":"git"},"_npmVersion":"10.9.0","description":"A Notion Database to Zod converter","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"^3.25.76","@notionhq/client":"^2.2.15"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.2","@changesets/cli":"^2.29.6","@duocrafters/notion-database-zod":"^0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/notion-database-zod_0.4.0_1755776938980_0.3149455503808576","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@duocrafters/notion-database-zod","version":"0.4.1","license":"MIT","description":"A Notion Database to Zod converter","keywords":["notion","zod","typescript"],"homepage":"https://github.com/duocrafters/notion-database-zod","bugs":{"url":"https://github.com/duocrafters/notion-database-zod/issues"},"author":{"name":"Vaduo Consulting"},"repository":{"type":"git","url":"git+https://github.com/duocrafters/notion-database-zod.git"},"type":"module","main":"dist/index.js","scripts":{"build":"tsc","check-format":"prettier --check .","format":"prettier --write .","dev":"vitest","test":"vitest run","ci":"npm run build && npm run check-format && npm run test","prepublishOnly":"npm run ci","local-release":"changeset version && changeset publish"},"devDependencies":{"@changesets/cli":"^2.29.6","@duocrafters/notion-database-zod":"^0.4.1","prettier":"^3.6.2","typescript":"^5.9.2","vitest":"^3.2.4"},"dependencies":{"@notionhq/client":"^2.2.15","zod":"^3.25.76"},"_id":"@duocrafters/notion-database-zod@0.4.1","gitHead":"e1c6effd8395a304344ae74e475807f655fee803","types":"./dist/index.d.ts","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-GA0m/tMWU0YeLQV73/iGChH/y+V4ymhDnVWxi8jjosdz0KuJ8hZHqpvJEjOoxLpQ79Gi56miUu9mNsluSR3QxA==","shasum":"9ed2ad29ad1bf77e5affc0c209b3328825fcfe7c","tarball":"https://registry.npmjs.org/@duocrafters/notion-database-zod/-/notion-database-zod-0.4.1.tgz","fileCount":47,"unpackedSize":118075,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD24Jwhme6de2+1vdGhH37nMoyji2dXHOF4sIbXF0ctOgIgYuzM/b3OOQLzN5xPx8Ffnjfkegpa6rOZDBbgoLwMa8k="}]},"_npmUser":{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"},"directories":{},"maintainers":[{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/notion-database-zod_0.4.1_1755777673947_0.8221823308210561"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-21T11:17:08.186Z","modified":"2025-08-21T12:01:14.365Z","0.2.0":"2025-08-21T11:17:08.453Z","0.3.0":"2025-08-21T11:39:48.982Z","0.4.0":"2025-08-21T11:48:59.153Z","0.4.1":"2025-08-21T12:01:14.144Z"},"bugs":{"url":"https://github.com/duocrafters/notion-database-zod/issues"},"author":{"name":"Vaduo Consulting"},"license":"MIT","homepage":"https://github.com/duocrafters/notion-database-zod","keywords":["notion","zod","typescript"],"repository":{"type":"git","url":"git+https://github.com/duocrafters/notion-database-zod.git"},"description":"A Notion Database to Zod converter","maintainers":[{"name":"emmanueldemey","email":"demey.emmanuel@gmail.com"}],"readme":"# notion-database-zod\n\nGenerate **Zod** schema for **Notion** database pages, in TypeScript.\n\n## Installation\n\n```bash\nnpm i @duocrafters/notion-database-zod\n# or\npnpm add @duocrafters/notion-database-zod\n```\n\n> The package is ESM. Use Node 18+ (recommended) and `\"type\": \"module\"` or a TS/ESM-compatible bundler.\n\n## Quick start\n\n### Generate a page schema from a Notion database\n\n```ts\nimport { generateDatabaseSchema } from '@duocrafters/notion-database-zod';\n\nconst schema = await generateDatabaseSchema(\n  'YOUR_DATABASE_ID',\n  { auth: process.env.NOTION_TOKEN! }, // ClientOptions for @notionhq/client\n);\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}