ZooTools / email-spell-checker

📮 An ultratiny (1.9 KB) and fast JavaScript email checker to reduce users typing a wrong email. Written in TypeScript. Enterprise-grade.
https://zootools.co/tools/email-spell-checker
MIT License
162 stars 12 forks source link

Distribution version? CDN? #10

Open JamoCA opened 2 years ago

JamoCA commented 2 years ago

I noticed this project recommended in a comment on the mailcheck project page and thought I'd see if I could drop it in as a replacement to my web applications.

Are there any plans to offer a compiled/minified version? (While I use many vanilla javascript libraries, I don't use npm or yarn.)

Are there any plans to host this library with various CDN providers? (The current version of the Mailcheck library is available on cdnjs.com, jsdelivr.com, cdnpkg.com, cdnjs.cloudflare.com, etc.)

Thanks.

ferreiro commented 2 years ago

yo @JamoCA that's a really good request. I'll take a look to see if we can make this available through our open source CDN. Will keep you posted

jimaek commented 2 years ago

Have you tried jsDelivr's ESM support? https://cdn.jsdelivr.net/npm/@zootools/email-spell-checker@1.11.0/+esm Maybe it will fit your needs as is? Plus you get the benefit of detailed download stats

JamoCA commented 2 years ago

I specifically searched Google for "email-spell-checker cdn" and didn't find anything. If available on third-party CDNs, please list them in the readme.md for easier identification.

This may be a better top-level (non-versioned) URL for the source at jsdelivr.net as it has a one-click download: https://www.jsdelivr.com/package/npm/@zootools/email-spell-checker