Fork me on GitHub

JavaScript Modules

Demonstration of JavaScript Script Loaders, Module Definitions, and Dependency Management

Introduction

The Goal

Asynchronous Loading

AMD Define

Script Loaders

  • RequireJS
  • yepnope
  • YUI3
  • curl.js
  • LABjs
  • LazyLoad
  • HeadJS
  • LazyLoad
  • StealJS
  • ControlJS
  • StealJS
  • PINF JS Loader
  • JSLoad
  • JsDefer
  • JSL
  • load.js

Module Definitions

  • AMD
  • CommonJS
  • YUI3
  • Harmony