forzagreen / n2words

Convert numerical numbers to written numbers, in 25+ languages.
MIT License
87 stars 22 forks source link

Move library structure to single entry-point dynamical loading #150

Open TylerVigario opened 4 months ago

TylerVigario commented 4 months ago

Browser compatibility with modules is excellent nowadays. This will serve as an exploration into converting this project to a single entry-point-dynamically-loading library

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import#browser_compatibility

https://html.spec.whatwg.org/multipage/webappapis.html#resolve-a-module-specifier