@jackdbd/zod-schemas
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

Zod schemas

npm version CI workflow Release to npmjs.com workflow Conventional Commits install size Socket Badge

Some Zod schemas I reuse across projects.

Table of Contents

Installation

npm install @jackdbd/zod-schemas

Development

Launch both the TypeScript compiler and the Node.js test runner in watch mode:

npm run dev

Build all TypeScript files with the TypeScript compiler, and all docs with TypeDoc and api-extractor + api-documenter:

npm run build

You can also build the TypeScript files and the docs separately:

npm run build:ts
npm run docs

Whenever you change the public API of this project, you need to run api-extractor with the --local flag:

npx api-extractor run --config ./config/api-extractor.json --verbose --local

Docs

Preview the documentation generated by TypeDoc:

npm run serve:docs

Note: it doesn't make much sense to preview the API docs generated by api-extractor + api-documenter. They are just a bunch of markdown files.

Readme

Keywords

Package Sidebar

Install

npm i @jackdbd/zod-schemas

Weekly Downloads

159

Version

2.2.0

License

MIT

Unpacked Size

30.3 kB

Total Files

60

Last publish

Collaborators

  • jackdbd