Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including ajv-keywords, ajv-formats, and ajv-bsontype, with ajv-dist for Browser Side #2

Open
jeremykentbgross opened this issue Apr 3, 2024 · 0 comments

Comments

@jeremykentbgross
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant