olahol / iso-3166-2.js

Lookup information about ISO-3166-2 subdivisions
MIT License
108 stars 41 forks source link

Generate UMD file #14

Closed benmvp closed 7 years ago

benmvp commented 7 years ago

Hi! Thanks for this package. We just started using it at Eventbrite!

However, it just gets added to window object which is bad for module systems, especially use on the server in Node.

I was thinking about taking a crack at generating a UMD file that will work for AMD, CommonJS, as well as the current window global.

What do you think?

olahol commented 7 years ago

Sounds like a great a idea, if you submit a pull request I will merge it.

benmvp commented 7 years ago

Perfect! Thanks!