📮 An ultratiny (1.9 KB) and fast JavaScript email checker to reduce users typing a wrong email. Written in TypeScript. Enterprise-grade.
164
stars
11
forks
source link
feat: replace `trim` by the #1 most popular trim library #5
Closed
ferreiro closed 2 years ago
Description of change
We inherit a trim function from
mailcheck
(an outdated library that we rewrote in TypeScript).It doesn't make sense to use it versus
trim
a well tested and #1 trim library in NPM ecosystem right now with 5M weekly downloads.In order to not create external dependencies, I copy paste their trim function.
Pull-Request Checklist
main
branchnpm run lint
passes with this changenpm run test
passes with this changeFixes #0000