superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).
Found 12432 results for validation javascript node
A simple and composable way to validate data in JavaScript (and TypeScript).
Provides a fast, pretty robust e-mail validator. Only checks form, not function.
allows easy type enforcement for all JS types objects and classes. it is also extensible and provides simple to use type checks for your own custom classes and types
The modular and type safe schema library for validating structural data
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
Another JSON Schema Validator
Dead simple fluent JavaScript validation library
Quick and easy Smarty address validation.
A temporary custom copy of https://github.com/csstree/csstree
Swagger 2.0 and OpenAPI 3.x parser and validator for Node and browsers
A type checking library where each exported function returns either true or false and does not throw. Also added tests.
validation library for nodejs, inspired by laravel.
A syntax sugar tool around Node fetch() API, tailored to work with TypeScript and response validators
TypeScript-first schema declaration and validation library with static type inference
A rich and efficient node validation library for String, Number, Date and Javascript Objects
allows easy type enforcement for all JS types objects and classes. it is also extensible and provides simple to use type checks for your own custom classes and types
```diff -Maintener wanted ``` Validation for REST Services built with [node-restify](https://github.com/mcavage/node-restify) in node.js
Format validation for Ajv v7+
URI validation functions
A simple and composable way to validate data in JavaScript (and TypeScript).
Easy Data science (Machine learning) in JavaScript & Node (Including Bandits & Naive Bayes)
Validates if a value is an array.
Assert that a Node-API value is a specified Node-API data type.
Validates if a value is a function.
Contains JavaScript & TypeScript object models for Microsoft Power BI JavaScript SDK. For each model there is a TypeScript interface, and a validation function to ensure and object is valid.
Validates if a value is an integer.
Validates if a value is an integer array.
Validates if a value is a number.
Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation
Check if a protocol requires a certain port number to be added to an URL.
Give me a string and I'll tell you if it's a valid npm package name
General purpose validation library for JavaScript
Utilities for determining if characters belong to character classes defined by the XML specs.
Type check values
A family of specs for interoperable TypeScript
Performant, flexible and extensible forms library for React Hooks
A pure-JS Schematron implementation for Node, browsers and CLI
String validation and sanitization
Wrap zod validation errors in user-friendly readable messages
Creates Zod types from JSON Schema at runtime
Validate an email address according to RFCs 5321, 5322, and others
Provides a fast company / work email validator by checking whether the email domain is in the free email provider list.
Validation library inspired by Laravel's Validator
React Hook Form validation resolvers: Yup, Joi, Superstruct, Zod, Vest, Class Validator, io-ts, Nope, computed-types, TypeBox, arktype, Typanion, Effect-TS and VineJS
Validation for your environment variables
C utilities for asserting that a Node-API call returns an "ok" status.
Declarative validations for JavaScript
Assert that two Node-API data types are equal.
Email address and domain validation
a simple, fast and robust email validator
RDF SHACL validator
Powerful object and string validation in Javascript.
Ajv class for JSON Schema draft-04
Verifalia email verification library for JavaScript: verify email addresses in real-time and check whether they are deliverable, invalid, or otherwise risky.
A general purpose javascript library for credit card number validation and formatting. Based on https://github.com/jondavidjohn/payform and https://github.com/stripe/jquery.payment. Usable in React Native and Node.
Check if a string can be used as a JavaScript variable name
Test if a value is an Error object.
Simple validations for node and the browser.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Enforce schema on JavaScript objects, including type, transformation, and validation. Supports extends, sub-schemas, and arrays.
Disable introspection in graphql-js with a validation rule
Validate HTML colors by 'name', 'special name', 'hex', 'rgb', 'rgba', 'hsl', 'hsla', 'hwb', 'lab' or 'lch' values
Utils library to use with the Smarty Javascript SDK
GitHub's GraphQL Schema with validation. Automatically updated.
Strict URL sanitization with security-focused validation
Email address and domain validation
Core module of JSON Forms
JSON/CJSON/JSON5 parser, syntax and schema validator and pretty-printer.
A fast and easy to use JSON Schema validator
Standard assertion utilities.
⛑️ JSON serialization should never fail
Validates mint.json files
express-validation is a middleware that validates a request and returns a response with errors; if any of the configured validation rules fail.
Email Verification that's astonishingly easy and low-cost. See https://emailable.com for details.
Build forms in React, without the tears
Another JSON Schema Validator
Validate JSON
ESLint plugin that validates data using JSON Schema Validator.
Divhide javascript core components for NodeJs, Browser, Titanium, ... and everything that runs javascript.
Validate any Bitcoin address - P2WSH, P2WPKH, P2SH, P2PKH - Mainnet & Testnet
Convert Swagger 2.0 definitions to OpenApi 3.0 and validate
Validate JSON
Parser/validator for OpenAPI 3.x definitions
A (XSD) schema validator for nodejs
Reactive MobX Form State Management
Unquoted JavaScript property name validator
Validates if a value is a JavaScript object.
Making SvelteKit forms a pleasure to use!
Configurable, input validated routing for koa.
A command-line JSON, YAML and TOML validator that's on your wavelength
validate express application inputs and parameters using joi
Generate Zod schemas from Drizzle ORM schemas
Library for checking spaces in files
Adds pattern matching, optional properties, and several other helpers and types, to io-ts.
node-restify-swagger =======================
JSON Schema fluent API
Function argument validation for humans
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
A joi validation middleware for Express.
Express middleware for the validator module.
For use with React PropTypes. Will error on any prop not explicitly specified.
Assert that a Node-API value is a Node-API typed array.
Assert that two Node-API typed array data types are equal.
Validate JS variable names
Validate the api to your functions to help people use them correctly. This is pretty much React's propTypes without React.
Second generation object or request validator for node.js
A tiny javascript type testing tool
ServiceStack's TypeScript library providing convenience utilities in developing web apps. Integrates with ServiceStack's Server features including ServiceClient, Server Events, Error Handling and Validation
Core utility for Felte's integration with front-end frameworks
Check if a string is a scoped npm package name
Validate cron expressions
The parser package for the Powertools for AWS Lambda (TypeScript) library.
0-Deps, simple, fast, for browser and node js object schema validator
Extends Zod with metadata
Validate your forms, frontend, without writing a single line of javascript!
Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.
Painless forms for Vue.js
Adds a phone number validation check to yup validator using google-libphonenumber.
A string formatter and validator based on masks
A beautiful command-line prompt for node.js
User validations for npm
High-level validation library for Node.js (used in Waterline)
Validate object properties in javascript.
A package for detecting all duplicated property keys of a JSON string.
A (XSD) schema validator for nodejs
Skema provides a handy & composable way to validate / transform / purify the input data.
Validation rule for GraphQL query complexity analysis
Validates if a value is a Buffer object.
React Hook Form error message component
Ember computed property based validation library
check if a string is a valid JSON string without using Try/Catch
A tiny Node HTTP(S) request wrapper, for JSON requests and responses
React Hook Form dev tool to help debugging forms
This package is use for Validating whether variable is boolean or not and converting boolean variable to javascript boolean.
Format, validate and generate CNPJ numbers
Validates if a value is a nonnegative integer.
This package is inspired by Laravel validation, and aims to make body validation easier for Javascript developers
Node.js utility tool for creating and checking subresource integrity
An incremental regular expression parser in JavaScript; useful for input validation, RegExp
Dirty Forms is a jQuery plugin to help prevent users from losing data when editing forms.
Hash a stream of data, then validate
Common error classes and utility functions
GTIN (UPC, EAN, ITF, etc.) utilities.
Postal Codes
React component to provide validation states to form fields
Validates if a value is a number primitive, excluding NaN.
Blazing fast input validation and transformation ⚡
Validates if a value is array-like.
Validates if a value is a number primitive and an integer.
A form input builder and validator for React
cron-validate is a cron-expression validator written in TypeScript.
A validation module for browsers and Node.js to validate an American Bankers Association Routing Number used in ACH payments.
A React component for input text field
Validates if a value is matrix-like.
Validates if a value is a positive integer.
Create an error from the result of validate-glob-opts
Card type definitions and methods for creditcards
A tiny vanilla javascript form validation library
validates style objects by ensuring they only have valid keys
An internationalized hostname validator as defined by RFC5890, RFC5891, RFC5892, RFC5893, RFC3492 and UTS#46
Converts json from and to Joi objects.
Minimal JavaScript type checking library
The modular and type-safe form library for SolidJS
Runtime validation for static types
Utilities to format and customize Zod error messages
A json validator that has an option to check for duplicated keys
Validates if a value is ndarray-like.
Standard Number Validation
Validate your BPMN diagrams based on configurable lint rules
Helpers to simplify nodejs code on FASS environments
Object schema validation
Validate JSON
Validates cron expressions
Check password strength
An object shape validation utility.
Swagger 2.0 and OpenAPI 3.0 command-line tool
Typescript API client with autocompletion and zod validations
Validate html using validator.w3.org/nu og html-validate
Client-side form validation made easy
Generate fast-check arbitraries from Zod schemas.
vee-validate integration with zod schema validation
A regular expression that only matches a valid Github username
An API wrapper for the NeverBounce API
Schema Validation with typescript type inference.
Form Validation for Vue.js
Validate postcodes based on country
Disposable email domains
Lightweight validator supporting Language Independent Validation Rules Specification
A lightweight JavaScript widget with zero dependencies that performs real-time email address validation using the Verifalia email verification service. This widget integrates seamlessly with any web form to swiftly identify and eliminate invalid, undelive
TypeScript class that validates UK bank account details using the modulus checking algorithm.
Integrate [cz-customizable](https://github.com/leoforfree/cz-customizable) config with [ghooks](https://github.com/gtramontina/ghooks) or [husky](https://github.com/typicode/husky) to use a single configuration for commit message generation AND commit mes
Effortlessly convert your JSON Object to JSON Schema, Mongoose Schema, or a Generic template for quick documentation / upstart.
Interactive diagrams, charts, and graphs, such as trees, flowcharts, orgcharts, UML, BPMN, or business diagrams
Parser and validator for US and Canadian phone numbers
A port number formatting validator.
Parsing Library for Typescript and Javascript.
Capture form validation back from the browser
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
A collection of utilities for Node.js and browser environments.
The framework agnostic core of FormKit
RFC-compliant email validation and parsing
Schema for data modeling & validation
CTRF reference implementation in TypeScript for creating and validating CTRF documents.
The best possible way to verify and validate an email address.
A set of opinionated helpers built on top of the Constraint Validation API
Form data validation library for Node.js
A small and simple object schema library for the browser and node
The modular and type-safe form library for Qwik
Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
Conform helpers for integrating with Zod
Check if the given value is of the particular type or types.
Conform view adapter for react
Validate a response according to an openapi schema.
Joi extension for dates
Validate NHS numbers in various guises
A general purpose library for building credit card forms, validating inputs, and formatting numbers.
Validates password according to flexible and intuitive specifications
Node.js middleware to validate Host and Referer headers in HTTP requests and protect against DNS rebinding attacks.
Shared utilities for FormKit packages
Utility to wrap a FormKitNode in a dependency tracking observer proxy
Development tools for FormKit.
Build industry leading Vue forms 10x faster.
Flexible, efficient request validation for Connect
Commonly shared types for FormKit
Validate the type of arguments passed through the function.
Forms utilities for PrimeUI Libraries
Validate OpenApi specifications against their JSON schema
Lyxa type definitions and validation schemas for both frontend and backend
Png validator checks Png files for corruption
Interactive diagrams, charts, and graphs, such as trees, flowcharts, orgcharts, UML, BPMN, or business diagrams
Validates if a value is typed-array-like.
Inspired by koa-joi-router, this package aims to provide a similar feature-set while leveraging Zod and Typescript to create typesafe routes and middlewares with built in I/O validation.
Validator functions for many types of input, intended for use with express
Generates a random phone number following the E.164 international standard
An OpenAPI v3.0 development workflow assistant
Configurable, input validated routing for koa.
A comprehensive collection of performant type guards and assertions with excellent TypeScript support
Validates if a value is a nonnegative integer array.
Internationalization layer for FormKit.
XML validation APIs
Validation plugin for FormKit
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Reusable adapter for class-validator classes
Universal adapter for schema validation
Check is disposable an email
Validation rules for FormKit
Generates zod schemas from Prisma models with advanced validation
Toolkit for using data in JavaScript.
Fast runtime type validator, converter and io (encoding/decoding) library
Test if an input value is a supported ndarray data type.