JSPM

jspm

0.10.5
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 10840
    • Score
      100M100P100Q117642F
    • License Apache 2.0

    Registry and format agnostic JavaScript package manager

    Package Exports

    • jspm
    • jspm/api
    • jspm/lib/bundle
    • jspm/lib/common
    • jspm/lib/config
    • jspm/lib/config/package.js
    • jspm/lib/core
    • jspm/lib/global-config
    • jspm/lib/ui

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jspm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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