ajv-validator / ajv-validator/ajv-keywords

Including with ajv-dist for Browser Side

Offen
#392 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
257
Forks
51
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.