Skip to content

iodigital-com/javascript-modules

 
 

Repository files navigation

Javascript Modules Starter Kit

Starter Kit to experience javascript modules, compilers, and bundlers.

Contents

Module types

  1. Life Without modules (LWM)
  2. CommonJS Modules (CJS)
  3. Asynchronous Module Definition (AMD)
  4. Universal Module Definition (UMD)
  5. ES Modules (ESM)
  6. System Modules (SJS)

Try ES Modules in different environments

  1. ECMAScript modules in Browsers (ESM-B)
  2. ECMAScript modules in Node.js (ESM-N)

Compilers and Bundlers

  1. esbuild
  2. webpack
  3. tree-shaking
  4. browserify
  5. parcel
  6. vite
  7. SWC
  8. publish

Practice

  1. package

Notes

During your journey you will find guess-number.ts/js, it a simple game to guess a random number.

Also, I used loadash to make sure that we will deal with a third-party library to see the output during bundling/compiling.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 73.1%
  • JavaScript 16.5%
  • HTML 8.9%
  • CSS 1.5%