garycourt / JSV

A JavaScript implementation of an extendable, fully compliant JSON Schema validator.
618 stars 84 forks source link

favor createSchema for production apps #86

Closed gilesbowkett closed 7 years ago

gilesbowkett commented 10 years ago

Readme change, clarifies usage. Says use createSchema rather than env.validate in production.

For our JSCK project (https://github.com/pandastrike/jsck/), we did some benchmarks w/JSV and got unfairly low numbers for JSV, until we figured this out. We're in the process of fixing those. :-)