@rathoretaruncodes/nexus-common
v1.0.5
Published
Nexus-common is a foundational TypeScript library designed specifically for validation purposes within the Nexus framework.
Downloads
4
Readme
Introduction
Nexus-common is a foundational TypeScript library designed specifically for validation purposes within the Nexus framework.
It operates on the principle of type-first validation, ensuring type safety throughout the development process.
Notably, nexus-common functions as an independent npm module, signifying its reusability across both client-side and server-side implementations within Nexus.
This approach effectively eliminates the need for duplicate type declarations, streamlining development and promoting code consistency.
Some other great aspects:
- Zod as dependency.
- Works in Node.js and all modern browsers.
- Tiny: 16kb
Installation
npm install @rathoretaruncodes/nexus-common
yarn add @rathoretaruncodes/nexus-common