Skip to content

Parse, validate and transform data with confidence in nuxt using zod

License

Notifications You must be signed in to change notification settings

sidebase/nuxt-parse

Repository files navigation

nuxt-parse

nuxt-parse

npm version npm downloads GitHub stars License Follow us on Twitter Join our Discord

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, ...

Quick Start

npm i @sidebase/nuxt-parse

Then visit the Quick Start documentation to setup the package.

Features

  • ✔️ Validate Data using zod
  • ✔️ Deserialize and Serialize user, backend, api data
  • ✔️ Helpers focused on Nuxt 3 usage and developer experience

Development

  • 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