← Winnitude! Search  ·  Reader Mode (754 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 36 LINKS

GitHub - ModuleLoader/system-register-loader: Module loader to load System.register modules in the browser and Node

This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Repository navigation

system-register-loader
Public archive

About

Module loader to load System.register modules in the browser and Node

Resources

Readme Activity Custom properties

Stars

15 stars

Watchers

1 watching

Forks

2 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


44 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
example example    
src src    
.gitignore .gitignore    
.npmignore .npmignore    
README.md README.md    
package.json package.json    
rollup.config.js rollup.config.js    

Repository files navigation

System Register Loader

Only loads System.register modules, as described in https://github.com/ModuleLoader/es-module-loader/blob/master/docs/system-register.md .

Follows the WhatWG loader resolution algorithm, throwing when loading plain / bare names like "lodash".

Built with the ES Module Loader polyfill 1.0 branch at https://github.com/ModuleLoader/es-module-loader .

Installation

npm install system-register-loader

Browser Usage

<script src="dist/system-register-loader.js"></script>
<script>
  var loader = new SystemRegisterLoader();

  // relative path or URL syntax is necessary as plain resolution throws
  loader.import('./path/to/file.js').then(function(m) {
    // ...
  });
</script>

Node Usage

var SystemRegisterLoader = require('system-register-loader');

var loader = new SystemRegisterLoader();

loader.import('./path').then(function(m) {
  // ...
});

LICENSE

MIT

About

Module loader to load System.register modules in the browser and Node

Resources

Readme Activity Custom properties

Stars

15 stars

Watchers

1 watching

Forks

2 forks Report repository

Releases

Packages

Used by

Contributors

Languages