3 ms·
Wow yet another validation library, this one is special because it doesnt care about typescript. Seriously a big part of the problem is to infer type informati
by nsonha 6y ago
Wow yet another validation library, this one is special because it doesnt care about typescript.
Seriously a big part of the problem is to infer type information as you write validators. Anyone can just invent a dsl for type schema. Npm already has heap of these. If we want the schema approach we' probably go with something json-schema based.
Have a look at io-ts and runtypes to see what what a modern js validator should look like (again has something to do with typescript)