SystemJS is a module loader that understands both CommonJS module format, AMD module format, and even the new ES6 module format. It works in both Node and the browser, and as such, describes itself as a universal module loader. Before SystemJS came along, Node-based solutions used CommonJS format, and browser-based solutions used AMD format. Now we can use CommonJS format in the browser, and even mix and match module syntax. In this section, we will take a look at how to configure SystemJS for loading CommonJS modules in the browser.
SystemJS module loading
SystemJS installation
SystemJS can be installed using npm as follows:
npm install systemjs --save
The relevant declaration files can be installed using @types as follows...