Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

JSPM

90
18
+ 1
0
rollup

1.8K
163
+ 1
17
Add tool
Decisions about JSPM and rollup

We mostly use rollup to publish package onto NPM. For most all other use cases, we use the Meteor build tool (probably 99% of the time) for publishing packages. If you're using Node on FHIR you probably won't need to know rollup, unless you are somehow working on helping us publish front end user interface components using FHIR. That being said, we have been migrating away from Atmosphere package manager towards NPM. As we continue to migrate away, we may publish other NPM packages using rollup.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of JSPM
Pros of rollup
    Be the first to leave a pro
    • 4
      Makes it easy to publish packages
    • 3
      Easier configuration
    • 2
      Better tree shaking
    • 2
      Provides smaller bundle size
    • 1
      Integrates seamlessly with SystemJS
    • 1
      Produces very clean code
    • 1
      Very reliable
    • 1
      Very robust Plugin-API (years old Plugins still work)
    • 1
      Very flexible
    • 1
      Was built with ESM-Modules in mind

    Sign up to add or upvote prosMake informed product decisions

    Cons of JSPM
    Cons of rollup
      Be the first to leave a con
      • 1
        No clear path for static assets
      • 1
        No Loader like Webpack (need to use sjs or ESM imports)
      • 1
        Almost everything needs to be a Plugin
      • 1
        Manual Chunking is a bit buggy

      Sign up to add or upvote consMake informed product decisions

      2
      546
      43
      1.5K

      What is JSPM?

      It is a package manager for the SystemJS universal module loader, built on top of the dynamic ES6 module loader. You can load npm packages in modern browsers with the native browser ES module loader.

      What is rollup?

      It is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. It uses the new standardized format for code modules included in the ES6 revision of JavaScript, instead of previous idiosyncratic solutions such as CommonJS and AMD.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use JSPM?
      What companies use rollup?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with JSPM?
      What tools integrate with rollup?
        No integrations found

        Sign up to get full access to all the tool integrationsMake informed product decisions

        Blog Posts

        What are some alternatives to JSPM and rollup?
        npm
        npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
        Webpack
        A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
        Bower
        Bower is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat.
        Yarn
        Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.
        gulp
        Build system automating tasks: minification and copying of all JavaScript files, static images. More capable of watching files to automatically rerun the task when a file changes.
        See all alternatives