node-diacritics
node-diacritics copied to clipboard
Handled browser compatibility
Exports objects and functions only if module and exports node objects are available.
Since this package is written in pure ES5 with zero dependencies it could be great to get it available for browsers too.
With a simple if (as the Bootstrap lib does) we can let this package be available for browser.
What do you think about that?