How to use AJV in Firefox addon?

42 Views Asked by At

I would like to use AJV in a Firefox addon in order to validate JSON that has been entered by the user. What file(s) of the AJV repository do I have to include in my project folder and how do I import them correctly?

Normally, I'd just use the minified version from https://cdnjs.com/libraries/ajv but Mozilla doesn't allow that.

Thank you!

0

There are 0 best solutions below