@xeplr/schema-handler
Field-schema primitive: define, validate, infer, map, and template values across schemas
Install
npm install @xeplr/schema-handlerThe idea
A schema is a plain array of fields, checked the same way in the browser and on the server, with every problem reported at once and keyed by field. The factory and the actions both validate through it, so the server accepts exactly what the form does.
Where it sits
Part of Primitives — no framework, no I/O, no opinions about your stack. Data in, data out — the parts everything else is assembled from.
Documentation for @xeplr/schema-handler is in its README on npm.
These packages are what Xeplr Analytics is made of
If you are assembling this yourself, it may be worth seeing the assembled version first.