locale2 icon indicating copy to clipboard operation
locale2 copied to clipboard

es module, for modern browser use without bundlers

Open chase-moskal opened this issue 6 years ago • 2 comments

hello friend, thanks for this lovely module

my application uses es-modules, so i made a quick adaptation of locale2

i don't have time to apply the refactor to this repo, but here's the gist for my adaptation i'm using in my app:

my adaptation makes some assumptions and so only works in the browser (setting global = window)

just thought i'd share in case somebody else was in the same boat

:wave:

chase-moskal avatar Aug 20 '19 19:08 chase-moskal

sorry for the long delay in replying! i'll happily work on this case :)

moimikey avatar Nov 07 '19 00:11 moimikey

i know this is 2 years later, but i will be creating a TS version of this in the next major release.

moimikey avatar May 13 '21 18:05 moimikey