ajv-validator / ajv-validator/ajv-dist

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

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
1
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.