{"library":"n4s","type":"library","category":null,"description":"n4s is a typed schema validation library (v6.2.1) built as a typed version of 'enforce' for the Vest testing framework ecosystem. It provides compile-time type inference and runtime validation using a chained API. Unlike alternatives like Zod or Yup, n4s is tightly integrated with Vest and follows a similar syntax. Released sporadically, it focuses on small bundle size and TypeScript-first design. Key differentiator: seamless validation integration within Vest test suites.","language":"javascript","status":"active","version":"6.2.1","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install n4s","imports":["import n4s from 'n4s';","import { enforce } from 'n4s';","import type { N4sTypes } from 'n4s';"]},{"cmd":"yarn add n4s","imports":[]},{"cmd":"pnpm add n4s","imports":[]}],"homepage":"https://github.com/ealush/vest#readme","github":"https://github.com/ealush/vest","docs":null,"changelog":null,"pypi":null,"npm":"n4s","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}