Easy to use functional validators in Javascript
github.com
github.com
Embarrassingly, very few Node validation libraries support async!
This makes it annoyingly complex to have multiple sets of validation on the server to ensure a new user is indeed a new user, that foreign keys match their constraints, etc. on top of the dumb type checks.
We ultimately found Schemator from the js-data project: > http://www.js-data.io/v1.5.8/docs/js-data-schema
We've been able to put all of our sync/async constraints into varying "schemas" that run on both the client and the server!
I recently (as near as a week ago) started working on a modern JavaScript implementation of the same idea but without the tight coupling to a particular framework.
Very strange coincidence. :)