Home

Search IconIcon to open search

JS modules

Back in the days, JS scripts were simple enough, and it was common to dump everything into one file. But stuff was growing more complicated, so people came up with CommonJS and AMD imports. And it was kinda hell. So it was standardized into import/export syntax, which is (mostly) supported by all modern browsers.