News for hackers. Stuff that matters.
Re:Formance.js – Library for formatting and validating form ... by ianstormtaylor on Friday September 13, 2013 @05:00PM (#6383125)
If you're looking for a nice validation API that doesn't require jQuery, I've been working on one recently for forms: https://github.com/segmentio/validate

I personally really dislike working with jQuery plugins, because their APIs tend to be very poorly thought out. And using strings as a way to call methods is generally unfortunate, especially when they are snake-cased like these ones.

Re:Formance.js – Library for formatting and validating form ... by omarshammas on Friday September 13, 2013 @05:12PM (#6383200)
I'm watching your repo to see how it evolves, I like the structure of your api. Best of luck.

Regarding Formance, it uses jQuery to setup the necessary event listeners to provide the field formatting.

On the other note snake-cased is a preference, I would happily provide camelCased if there is demand.