Create and Publish a Universal JavaScript Moduleby@vladys_lav
571 reads
571 reads

Create and Publish a Universal JavaScript Module

by Vladyslav Babak4mNovember 28th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.

Company Mentioned

Mention Thumbnail
featured image - Create and Publish a Universal JavaScript Module
Vladyslav Babak HackerNoon profile picture
Vladyslav Babak

Vladyslav Babak

@vladys_lav

Software Engineer

About @vladys_lav
LEARN MORE ABOUT @VLADYS_LAV'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Vladyslav Babak HackerNoon profile picture
Vladyslav Babak@vladys_lav
Software Engineer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!