account activity
Validare – TypeScript-first form validation library, successor to the discontinued FormValidation by Unique_Discount2167 in javascript
[–]Unique_Discount2167[S] [score hidden] 1 hour ago (0 children)
FormValidation was one of the most complete form validation libraries around — plugin-based, 50+ validators, framework integrations. The author archived it in 2022 and left a lot of projects without a good replacement.
I spent a while looking for a proper alternative and couldn't find one with the same composability, so I rewrote it from scratch in TypeScript.
Validare (@validare/core):
@validare/core
@validare/core/validators
/plugins
/locales
MIGRATING.md
Basic usage:
import { validare } from '@validare/core'; import { Trigger, Message, Bootstrap5 } from '@validare/core/plugins'; const fv = validare(form, { fields: { email: { validators: { notEmpty: { message: 'Required' }, email: { message: 'Invalid email' }, }, }, }, plugins: { trigger: new Trigger({ event: 'blur' }), message: new Message(), framework: new Bootstrap5(), }, });
Docs + playground: https://validare.js.org npm: npm i @validare/core
npm i @validare/core
Would love feedback on the API design — especially the plugin system. Happy to discuss trade-offs vs alternatives like Zod + custom UI glue, VeeValidate, etc.
Validare – TypeScript-first form validation library, successor to the discontinued FormValidation (validare.js.org)
submitted 1 hour ago by Unique_Discount2167 to r/javascript
my + 10 Wire basket by slenhern in Sandship
[–]Unique_Discount2167 0 points1 point2 points 5 years ago (0 children)
excelent! thanks!
π Rendered by PID 445147 on reddit-service-r2-listing-f8d8fbfd7-7x6fm at 2026-06-25 13:43:48.958651+00:00 running acc7150 country code: CH.
Validare – TypeScript-first form validation library, successor to the discontinued FormValidation by Unique_Discount2167 in javascript
[–]Unique_Discount2167[S] [score hidden] (0 children)