Too Long; Didn't Read
There are a lot of inconsistency in the JavaScript world. Since 1997 (ECMAScript 1) and before 2015 there were no standards for JavaScript modules. In ES 2015 (ES6) modules were added to the specification and new export and import statements introduced. To make it compatible with browsers we will use webpack and it’s umd library. To test the module, use karma, chrome-launcher and jasmine to run tests in Chrome browser. After publishing your first version, update your module version from 0001 to 1 to 1.
Share Your Thoughts