node-diacritics icon indicating copy to clipboard operation
node-diacritics copied to clipboard

Handled browser compatibility

Open BasileTrujillo opened this issue 5 years ago • 0 comments

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?

BasileTrujillo avatar Jul 31 '19 14:07 BasileTrujillo