Skip to content

Including with ajv-dist for Browser Side #94

@jeremykentbgross

Description

@jeremykentbgross

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions