Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Package Management for ES6 Modules

Package Management for ES6 Modules

JSConf 2014 presentation introducing the motivations for https://jspm.io.

Demo can be found at - https://github.com/guybedford/jspm-demo

Guy Bedford

June 02, 2014
Tweet

Other Decks in Programming

Transcript

  1. ES6 Modules! The ability to unify the module format fragmentation

    we have today! An opportunity to reconsider ! package management for the browser!
  2. Installing a widget or library should be a one line

    operation and a single require.! !
  3. ES6 Module Loader! •  ES6 Syntax! •  Module Loader Pipeline!

    •  Loader Hooks: normalize, locate, fetch, translate, instantiate!
  4. Dependency Management! •  Version conflicts will happen! •  Support multi-versions,

    with auto deduping! •  Semver! Central dependency manifest!
  5. Package management for an ES6 Module Loader! Support existing module

    formats and registries! Flat multi-version support! Central dependency manifest! Production bundling for browsers today!