A nuxt focused package to make data validation and parsing easy. This package follows the design philosophy of the article parse, don't validate. It uses
zod
for parsing data from the user, APIs, your own functions, ...
npm i @sidebase/nuxt-parse
Then visit the Quick Start documentation to setup the package.
- ✔️ Validate Data using
zod
- ✔️ Deserialize and Serialize user, backend, api data
- ✔️ Helpers focused on Nuxt 3 usage and developer experience
- Run
npm run test
to generate type stubs - Run
npm run lint
to run eslint - Run
npm run type
to run typescheck via tsc - Run
npm publish
to run build and publish the package