{"_id":"@codeforamerica/safety-net-blueprint-clients","_rev":"6-41885705d0fe51d40588ba560dfadc7a","name":"@codeforamerica/safety-net-blueprint-clients","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@codeforamerica/safety-net-blueprint-clients","version":"1.0.0","license":"SEE LICENSE IN LICENSE","_id":"@codeforamerica/safety-net-blueprint-clients@1.0.0","maintainers":[{"name":"fritzjooste","email":"fritz@fritzjooste.com"},{"name":"alice-sjconsulting","email":"alice@sjconsulting.us"},{"name":"devowhippit","email":"dhirth@codeforamerica.org"},{"name":"chriscorrea","email":"ccorrea@codeforamerica.org"},{"name":"mryhmln","email":"mhamlin@codeforamerica.org"},{"name":"lkacenjar","email":"lkacenjar@codeforamerica.org"}],"homepage":"https://github.com/codeforamerica/safety-net-blueprint#readme","bugs":{"url":"https://github.com/codeforamerica/safety-net-blueprint/issues"},"bin":{"safety-net-generate-clients":"scripts/generate-clients-typescript.js","safety-net-generate-json-schema":"scripts/generate-clients-json-schema.js"},"dist":{"shasum":"cd6491a3fa1aa71d0b87c4aa2c25cdda964c0ac6","tarball":"https://registry.npmjs.org/@codeforamerica/safety-net-blueprint-clients/-/safety-net-blueprint-clients-1.0.0.tgz","fileCount":6,"integrity":"sha512-2dubRjjmvjRHO9zkX5fxv2VsAzmyAeOp0k2OmTTDUXIO0rf65MHa1hOlJBMGNZBe4uO49mxf2DFrnEjToziQQQ==","signatures":[{"sig":"MEQCIGeNDhdL51isuz4uE4kpogDFXiYeGs16505vq/QPdKh0AiAFlgdNBGtWURQOiln1eUR/0aGuxvt4pYfQEnGNiDR2YQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41128},"type":"module","engines":{"node":">=20.19.0"},"gitHead":"3ed494148be2a881d5dfbd46fa062a47aeac7764","scripts":{"test":"node --test tests/*.test.js","postman":"node scripts/generate-postman.js","prepack":"node ../../scripts/build-package-readme.js","typescript":"node scripts/generate-clients-typescript.js","json-schema":"node scripts/generate-clients-json-schema.js"},"_npmUser":{"name":"lkacenjar","email":"lkacenjar@codeforamerica.org"},"deprecated":"This package has been discontinued. TypeScript clients are now generated on-demand via blueprint-cli — see https://github.com/codeforamerica/safety-net-blueprint for details.","repository":{"url":"git+https://github.com/codeforamerica/safety-net-blueprint.git","type":"git","directory":"packages/clients"},"_npmVersion":"11.4.2","description":"Generated API clients and collections for Safety Net APIs","directories":{},"_nodeVersion":"24.4.1","dependencies":{"js-yaml":"^4.1.0","typescript":"^5.3.3","@hey-api/openapi-ts":"^0.90.3","@apidevtools/json-schema-ref-parser":"^11.7.2","@codeforamerica/safety-net-blueprint-contracts":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/safety-net-blueprint-clients_1.0.0_1771368477338_0.25956001964538133","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@codeforamerica/safety-net-blueprint-clients","version":"1.1.0","license":"SEE LICENSE IN LICENSE","_id":"@codeforamerica/safety-net-blueprint-clients@1.1.0","maintainers":[{"name":"fritzjooste","email":"fritz@fritzjooste.com"},{"name":"alice-sjconsulting","email":"alice@sjconsulting.us"},{"name":"devowhippit","email":"dhirth@codeforamerica.org"},{"name":"chriscorrea","email":"ccorrea@codeforamerica.org"},{"name":"mryhmln","email":"mhamlin@codeforamerica.org"},{"name":"lkacenjar","email":"lkacenjar@codeforamerica.org"}],"homepage":"https://github.com/codeforamerica/safety-net-blueprint#readme","bugs":{"url":"https://github.com/codeforamerica/safety-net-blueprint/issues"},"bin":{"safety-net-generate-clients":"scripts/generate-clients-typescript.js","safety-net-generate-json-schema":"scripts/generate-clients-json-schema.js"},"dist":{"shasum":"e26092a45dda2367e9358ebd6a539e91a53287a5","tarball":"https://registry.npmjs.org/@codeforamerica/safety-net-blueprint-clients/-/safety-net-blueprint-clients-1.1.0.tgz","fileCount":6,"integrity":"sha512-iJDBCXqAiScpEHhH6UssNOqfHJxySHFLonrjQdBWuVs+HjdHbPxin+r9y6hUbRRqc6B2NFat4kdZSKZkmJn0Kw==","signatures":[{"sig":"MEQCICr5zasZ99oVEqXINoIa8dDG0eQdm7Z7zWLS2uBggKBIAiB363igzf07HnwKxPcpzhRJfVzhlOZitgiJJtOHpTtxCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codeforamerica%2fsafety-net-blueprint-clients@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26757},"type":"module","engines":{"node":">=20.19.0"},"gitHead":"a0dcc226fdc7b5a87544b3d36def9120a2a2de8d","scripts":{"test":"node --test tests/","prepack":"node ../../scripts/build-package-readme.js","typescript":"node scripts/generate-clients-typescript.js","json-schema":"node scripts/generate-clients-json-schema.js"},"_npmUser":{"name":"lkacenjar","email":"lkacenjar@codeforamerica.org"},"deprecated":"This package has been discontinued. TypeScript clients are now generated on-demand via blueprint-cli — see https://github.com/codeforamerica/safety-net-blueprint for details.","repository":{"url":"git+https://github.com/codeforamerica/safety-net-blueprint.git","type":"git","directory":"packages/clients"},"_npmVersion":"10.8.2","description":"Generated API clients and collections for Safety Net APIs","directories":{},"_nodeVersion":"20.20.0","dependencies":{"js-yaml":"^4.1.0","typescript":"^5.3.3","@hey-api/openapi-ts":"^0.90.3","@apidevtools/json-schema-ref-parser":"^11.7.2","@codeforamerica/safety-net-blueprint-contracts":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/safety-net-blueprint-clients_1.1.0_1772563554504_0.05858931398997358","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@codeforamerica/safety-net-blueprint-clients","version":"1.1.1","license":"SEE LICENSE IN LICENSE","_id":"@codeforamerica/safety-net-blueprint-clients@1.1.1","maintainers":[{"name":"fritzjooste","email":"fritz@fritzjooste.com"},{"name":"alice-sjconsulting","email":"alice@sjconsulting.us"},{"name":"devowhippit","email":"dhirth@codeforamerica.org"},{"name":"chriscorrea","email":"ccorrea@codeforamerica.org"},{"name":"mryhmln","email":"mhamlin@codeforamerica.org"},{"name":"lkacenjar","email":"lkacenjar@codeforamerica.org"}],"homepage":"https://github.com/codeforamerica/safety-net-blueprint#readme","bugs":{"url":"https://github.com/codeforamerica/safety-net-blueprint/issues"},"bin":{"safety-net-generate-clients":"scripts/generate-clients-typescript.js","safety-net-generate-json-schema":"scripts/generate-clients-json-schema.js"},"dist":{"shasum":"51dabb0e9fb66d5d4130561e75b5fce75a1b1f99","tarball":"https://registry.npmjs.org/@codeforamerica/safety-net-blueprint-clients/-/safety-net-blueprint-clients-1.1.1.tgz","fileCount":6,"integrity":"sha512-A76wC1/tB1qw826/66sFZQsWo6Uwc+bU50yHguHkTUVl5YAe292IcKOXRQ2xP++UoTzUWluXVPW8xcT9OiATkg==","signatures":[{"sig":"MEUCIDumfC/wHzPsTBtvFb7Ah51rEEVbFyaiORhK2lAzuwCSAiEAhELpxBjbrJNMslWlBNZaxh3bG9rGPP2Xwal/h/T99bQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codeforamerica%2fsafety-net-blueprint-clients@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26939},"type":"module","engines":{"node":">=20.19.0"},"gitHead":"28a4c68bf5efe0c525b87d585ee8598a96e4d947","scripts":{"test":"node --test tests/","prepack":"node ../../scripts/build-package-readme.js","typescript":"node scripts/generate-clients-typescript.js","json-schema":"node scripts/generate-clients-json-schema.js"},"_npmUser":{"name":"lkacenjar","email":"lkacenjar@codeforamerica.org"},"deprecated":"This package has been discontinued. TypeScript clients are now generated on-demand via blueprint-cli — see https://github.com/codeforamerica/safety-net-blueprint for details.","repository":{"url":"git+https://github.com/codeforamerica/safety-net-blueprint.git","type":"git","directory":"packages/clients"},"_npmVersion":"10.8.2","description":"Generated API clients and collections for Safety Net APIs","directories":{},"_nodeVersion":"20.20.1","dependencies":{"js-yaml":"^4.1.0","typescript":"^5.3.3","@hey-api/openapi-ts":"^0.90.3","@apidevtools/json-schema-ref-parser":"^11.7.2","@codeforamerica/safety-net-blueprint-contracts":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/safety-net-blueprint-clients_1.1.1_1773852796093_0.955546694147213","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-02-17T22:47:57.221Z","modified":"2026-09-16T22:36:21.843Z","1.0.0":"2026-02-17T22:47:57.490Z","1.1.0":"2026-03-03T18:45:54.669Z","1.1.1":"2026-03-18T16:53:16.244Z"},"bugs":{"url":"https://github.com/codeforamerica/safety-net-blueprint/issues"},"license":"SEE LICENSE IN LICENSE","homepage":"https://github.com/codeforamerica/safety-net-blueprint#readme","repository":{"url":"git+https://github.com/codeforamerica/safety-net-blueprint.git","type":"git","directory":"packages/clients"},"description":"Generated API clients and collections for Safety Net APIs","maintainers":[{"email":"fritz@fritzjooste.com","name":"fritzjooste"},{"email":"dhirth@codeforamerica.org","name":"devowhippit"},{"email":"rob.diciuccio@gmail.com","name":"robdiciuccio"},{"email":"ccorrea@codeforamerica.org","name":"chriscorrea"},{"email":"mhamlin@codeforamerica.org","name":"mryhmln"},{"email":"lkacenjar@codeforamerica.org","name":"lkacenjar"}],"readme":"# @codeforamerica/safety-net-blueprint-clients\n\n> Generated API clients and collections for Safety Net APIs\n\n[![npm version](https://img.shields.io/npm/v/@codeforamerica/safety-net-blueprint-clients.svg)](https://www.npmjs.com/package/@codeforamerica/safety-net-blueprint-clients)\n[![license](https://img.shields.io/npm/l/@codeforamerica/safety-net-blueprint-clients.svg)](https://github.com/codeforamerica/safety-net-blueprint/blob/main/LICENSE)\n\n## Installation\n\n```bash\nnpm install @codeforamerica/safety-net-blueprint-clients\n```\n\n## What It Does\r\n\r\nGenerates TypeScript SDK clients and JSON Schema files from resolved OpenAPI specs. Uses `@hey-api/openapi-ts` for TypeScript generation with Zod validation schemas.\r\n\r\n## CLI Commands\r\n\r\nThese commands are installed as bin scripts. Run them via npm scripts in your `package.json` or with `npx`.\r\n\r\n### `safety-net-generate-clients`\r\n\r\nGenerate a TypeScript SDK with Zod schemas from resolved OpenAPI specs.\r\n\r\n```json\r\n\"scripts\": {\r\n  \"clients\": \"safety-net-generate-clients --spec=./resolved --out=./src/api\"\r\n}\r\n```\r\n\r\n### `safety-net-generate-json-schema`\r\n\r\nConvert OpenAPI component schemas to standalone JSON Schema files.\r\n\r\n```json\r\n\"scripts\": {\r\n  \"json-schema\": \"safety-net-generate-json-schema --spec=./resolved --out=./json-schemas\"\r\n}\r\n```\r\n\r\n## Usage Example\r\n\r\n```json\r\n\"scripts\": {\r\n  \"resolve\": \"safety-net-resolve --base=./node_modules/@codeforamerica/safety-net-blueprint-contracts --overlays=./overlays --out=./resolved\",\r\n  \"clients\": \"safety-net-generate-clients --spec=./resolved --out=./src/api\"\r\n}\r\n```\r\n\r\n```bash\r\nnpm run resolve\r\nnpm run clients\r\n```\r\n\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/codeforamerica/safety-net-blueprint/blob/main/packages/clients/CHANGELOG.md) for release history.\n\n## Documentation\n\nSee the [Safety Net Blueprint documentation](https://github.com/codeforamerica/safety-net-blueprint) for full guides and reference.\n\n## License\n\n[PolyForm Noncommercial License 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/)\n","readmeFilename":"README.md"}