ajv-keywords icon indicating copy to clipboard operation
ajv-keywords copied to clipboard

Including with ajv-dist for Browser Side

Open jeremykentbgross opened this issue 1 year ago • 0 comments
trafficstars

I was looking in ajv-keywords and ajv-formats in their node_modules/..../dist/ folders, as pulled from npm install, and it appears that they are made for Node.js only, and are not currently browser friendly. At present the ajv-dist npm, which is browser friendly, doesn't include them.

Would it be possible to either:

  1. Have the ajv-dist npm include ajv-keywords and ajv-formats, in separate but compatible bundles that ship with it in the npm that would work with it in the browser?
  2. Make compatible ajv-keywords-dist and ajv-formats-dist npms that would work with the ajv-dist npm in the browser?

If not, what would be the recommended way for me to deploy ajv-keywords and ajv-formats to the Browser Side?

Note that ajv-bsontype would be quite welcome if included as well.

In any case, thanks for an excellent tool, hopeful this request serves others as well by improving the project.

Note: I plan to post copies of this to ajv-dist, ajv-keywords, and ajv-formats in case this isn't the best place for it, and/or for visibility. I apologize in advance if that turns out to be unwelcome spamming, I am just not sure which is the best place for it and so am covering the bases.

jeremykentbgross avatar Apr 03 '24 02:04 jeremykentbgross