I stumbled upon this GitHub project a few days ago. It’s called Superstruct, and it looks like an awesome way to validate data in JavaScript.

Read more