Skip to content
Packem
Star

Packem

A precompiled
JavaScript module
bundler

Documentation GitHub

  • Extremely Fast

    Packem is +2X faster than Parcel (with multicore compilation). It leverages close-to-the-metal Rust bindings to achieve zero-cost abstractions and fearless concurrency. The runtime context uses node-worker-farm for distributive multithreading on larger module graphs.

  • Safe Binaries

    Packem is precompiled into safe and efficient binaries. The upcoming v1.0 stable is expected to implement most parts of the runtime context in Rust, hence improved speeds.

  • Versatile Plugin System

    A comprehensive class-based approach is used to instantiate and rehydrate plugins into the bundling cycle. The PackemEventDispatcher API can be used to manage internal event hooks and create custom ones during build time.


Performance Comparisons

This is a performance comparison between Packem and a few other common bundlers based on lodash v4.17. The host machine's specs can be found here.

  • Parcel (v1.12.3) vs Packem (pre-alpha)

  • Initial Build Time

    This graph shows the results extended with webpack (lower is better).

    #1#2#3#4#50481216
    • Packem (pre-alpha)
    • webpack (4.35.0)
    • Parcel (1.12.3)