Skip to content

trusktr/jspm-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jspm CLI Build Status Gitter

Registry and format agnostic JavaScript package manager.

  • Supports installing any module format from any registry, with GitHub and npm currently provided, via the endpoint API.
  • Couples to the SystemJS module loader, which is built on the current draft of the browser ES6 module loader specfication.
  • Carefully resolves version ranges using greedy fork minimization into flat multi-version package folders.
  • Provides tiered bundling of multi-format module trees using SystemJS builder.
  • Loads and builds assets through SystemJS plugins.

See https://jspm.io for a project overview.

For support, join the Gitter room or Google Group.

See the current release notes here including upgrade information.

Use jspm --help to see the full up-to-date list of commands.

Documentation

Read the loader documentation at the SystemJS project page.

There is also a great introduction, JavaScript Modules and Dependencies with jspm at JavaScriptPlayground by Jack Franklin.

Example

  jspm install npm:voxel-demo -y
  jspm bundle voxel-demo -i

The above populates a jspm_packages folder in the current directory, and generates a config.js file containing the SystemJS loader configuration.

It then creates a bundle file for the full tree, and ensures it is loaded on demand.

We can then run this demo with:

<!doctype html>
  <script src="jspm_packages/system.js"></script>
  <script src="config.js"></script>
  <script>
    System.import('voxel-demo');
  </script>

License

Apache 2.0

About

Package management CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%