what best library validate objects on server , client side ? i'm searching simpler - 1 simple config file , in both sides like:
var is_valid = validation(object, validationrule);
but should have many validation options, example:
obj: a, b, c, d; = something; b, c - required; d - not needed/hidden d = something: c - required; b - optional/has value - not needed/hidden on client side use aurelia framework. has validation plugin, have no idea how use on server. means that, use same functionvalidation , configvalidation on server, , client;
or perhaps - there plugin work aurelia-validation ?
on server use node.js backend;
i looking - great didn't have duplicate our work.
joi looks excellent server side validation (it powers walmart , paypal , fast) - it's kinda possible use on client.
then there's validate.js looks might both.
i opened reddit question since can't find info on this.
Comments
Post a Comment