I use a module called valid-schema ( https://github.com/Colingo/valid-schema
 )

It basically turns a JSON schema declaration into a validation function
that either returns null or a list of validation errors.

The unique thing about it is that every validator is just an arbitrary
function so you effectively build a domain specific validation language out
of high order functions.


On Fri, Jan 18, 2013 at 3:07 AM, Alan Hoffmeister <[email protected]
> wrote:

> Hello fellows!
>
> How are you doing data validation like forms and other user inputs? I know
> that there is some modules to do that but my intention is to do a
> brainstorm to gather ideas for a new module that I'm developing.
>
> Thanks.
>
> --
> Att,
> Alan Hoffmeister
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to