cfinke / Typo.js

A client-side JavaScript spellchecker that uses Hunspell-style dictionaries.
Other
501 stars 110 forks source link

remove Buffer #68

Closed jimmywarting closed 5 years ago

jimmywarting commented 5 years ago

When i bundle the package with browserify i get a hole lot more then just this package. I get the hole Buffer.js dependency also wish seems unnecessary b/c it's not even being used

https://github.com/cfinke/Typo.js/blob/566f9888239c1e26c709da76a2c4ba0e8ba9d1e1/typo/typo.js#L269

Could you avoid using Buffer? btw, the Buffer constructor was depricated a long time ago