express-jsonschema icon indicating copy to clipboard operation
express-jsonschema copied to clipboard

Replace jsonschema with avj

Open gajus opened this issue 9 years ago • 5 comments

jsonschema is incredibly slow compared to ajv (https://github.com/epoberezkin/ajv).

gajus avatar Nov 20 '16 14:11 gajus

Supporting this issue. Definitely can see some performance improvements by using ajv.

vacekj avatar Mar 23 '17 14:03 vacekj

Yup, I've dropped express-jsonschema from production because of this issue.

gajus avatar Mar 23 '17 16:03 gajus

Does anyone have experience with express-json-validator? It uses ajv, but isn't that popular nor documented.

vacekj avatar Mar 23 '17 18:03 vacekj

Okay, I'm going to attempt to make a module similar to this that uses ajv. Repo

vacekj avatar Mar 24 '17 15:03 vacekj

Module is up and running for those who want a faster alternative. Functionality is bare-bones at the moment, progress is being made as we speak! L I N K Starring the repo is super welcome

vacekj avatar Apr 11 '17 20:04 vacekj