{"library":"v8n","type":"library","category":null,"description":"v8n (validation) is a JavaScript validation library offering a dead-simple, fluent API for creating complex validation rules. It supports chaining multiple rules and modifiers, allowing for highly intuitive and readable validation logic for various data types including primitives, arrays, and objects. The library provides flexible validation strategies, including boolean-based `test()`, exception-based `check()` for detailed error feedback, and `testAll()` to gather all failures, as well as asynchronous validation. Currently at version 1.5.1, v8n maintains an active development pace with incremental feature additions and bug fixes, often addressing issues related to its schema, optional, and async validation capabilities. It differentiates itself through its highly customizable nature, enabling users to extend it with custom rules, and its reusability, allowing validation chains to be exported as modules.","language":"javascript","status":"active","version":"1.5.1","tags":["javascript","validation","library","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install v8n","imports":["import v8n from 'v8n'","import { ValidationError } from 'v8n'","import v8n from 'v8n'; v8n.extend({ /* rules */ });"]},{"cmd":"yarn add v8n","imports":[]},{"cmd":"pnpm add v8n","imports":[]}],"homepage":"https://imbrn.github.io/v8n/","github":"https://github.com/imbrn/v8n","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/v8n","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/v8n/compatibility"}}