Code Monkey home page Code Monkey logo

jspm-cli's Introduction

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

jspm-cli's People

Contributors

bubblyworld avatar computmaxer avatar crisptrutski avatar djindjic avatar douglasduteil avatar dropout avatar duy-n avatar guybedford avatar jamespamplin avatar jarreddebeer avatar lindseydew avatar markstickley avatar probins avatar subesokun avatar suyash avatar tauren avatar theefer avatar toranb avatar trusktr avatar yeban avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.