VineJS
Type-safe and fast validator for Node.jsA highly performant library to validate data in Node.js applications
VineJS is a framework agnostic validation library for Node.js. If you are looking for a type-safe and feature-rich validation library, VineJS might be it.
Features
- Type-safe: Alongside runtime validations, the validated output in VineJS is completely type-safe.
- 50+ validation rules: We ship with an ever-growing massive collection of validation rules.
- 13 schema types: Use in-built schema types or create a custom one to represent the core data types of your application.
- Support for custom messages: First-class workflow for defining custom error messages.
- Unions for conditional validation: Unions in VineJS are built for writing conditional validations. For example: Ask for
appointment_datewhenhas_appointmentis true. Also, the output is type-safe. - Error reporters: Structure the errors using custom error reporters.
Why VineJS?
- Performance - VineJS is built around performance. It is 5x-10x faster than Zod and Yup.
- Built for validating form data and JSON payloads - VineJS handles the HTML forms serialization quirks so that you never have to perform data normalization yourself.
Pinned Loading
-
vine vine Public
VineJS is a form data validation library for Node.js
-
vinejs.dev vinejs.dev Public
Documentation website for VineJS
-
vinejs-example-fastify vinejs-example-fastify Public
An example application using VineJS to validate the Fastify request body along with functional tests.
Repositories
Showing 5 of 5 repositories-
vinejs.dev
Public
Documentation website for VineJS
Uh oh!
There was an error while loading. Please reload this page.
vinejs/vinejs.dev's past year of commit activity HTML 13 17 3 7 Updated Nov 23, 2026 -
vine
Public
VineJS is a form data validation library for Node.js
Uh oh!
There was an error while loading. Please reload this page.
vinejs/vine's past year of commit activity TypeScript 1,283 MIT 37 12 6 Updated Oct 18, 2026 -
compiler
Public
Compiler for compiling VineJS schema to a super fast JavaScript function
Uh oh!
There was an error while loading. Please reload this page.
vinejs/compiler's past year of commit activity TypeScript 21 MIT 2 0 0 Updated Oct 14, 2026 -
.github
Public
Meta data for the organization
Uh oh!
There was an error while loading. Please reload this page.
vinejs/.github's past year of commit activity 1 0 1 0 Updated Dec 11, 2025 -
vinejs-example-fastify
Public
An example application using VineJS to validate the Fastify request body along with functional tests.
Uh oh!
There was an error while loading. Please reload this page.
vinejs/vinejs-example-fastify's past year of commit activity TypeScript 9 1 0 2 Updated Dec 13, 2023
People
Top languages
Loading…
Uh oh!
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.