Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

pkgroll

Free#15 of 27 in JavaScript Build Tools

pkgroll: A free, open-source bundler for publishing Node.js packages in ESM, CommonJS, and TypeScript. Ranked #15 of 27 in JavaScript Build Tools by our editors (7.7/10); pricing: Free plan; best for simple package bundling.

7.7/10Editor score
pkgroll7.7 Visit pkgroll

At a glance

  • Editor score
    7.7 / 10
  • Pricing
    Free plan
  • Best for
    Simple package bundling
  • Free plan
    Yes
  • Paid from
    Free
  • TypeScript support
    Yes
  • Facts checked
    20 Sep 2026
pkgroll screenshot
  • Where it wins

    • Automatically detects package entry points from package.json
    • Builds ESM, CommonJS, and TypeScript declaration outputs
    • Includes tree shaking, minification, watch mode, and source maps
  • Where it doesn't

    • Focused on Node.js package publishing rather than broad application bundling
    • Entry-point automation depends on package.json structure
    • Open-source distribution has no paid plan tiers

Our verdict on pkgroll

pkgroll is a free, open-source JavaScript package bundler for developers publishing Node.js packages written in JavaScript, TypeScript, or ESM. Powered by Rollup, it reads package entry points from package.json and produces ESM, CommonJS, and TypeScript declaration outputs without requiring a separate configuration file. That makes it a natural fit for maintainers who want a focused package build workflow rather than a broader application bundler. Native Node.js addon handling also extends its fit to packages that include native modules.

Its strongest angle is the amount of package-oriented work handled in one tool. pkgroll can transform TypeScript, bundle .d.ts files, externalize or bundle dependencies, apply tree shaking, minify output, generate source maps, and run in watch mode. Import aliases can be supplied through package.json and tsconfig paths, while the CLI supports additional output handling. These capabilities cover common publishing needs across JavaScript, TypeScript, and ESM packages without introducing a separate configuration file for the standard workflow.

The trade-off is focus. pkgroll is designed around Node.js package publishing, so teams looking for a general-purpose application build system may prefer a tool intended for wider frontend or application workflows. Its automatic entry-point approach is convenient when package.json accurately describes the package, but teams with unusual package layouts may want more explicit build control. Choose pkgroll when a simple, open-source package bundler with Rollup-based optimization and multiple module outputs matches your publishing process. Choose an alternative when the priority is broader application bundling or a more specialized build-management model.

Your product? Our editors can test pkgroll in depth and publish a review, labelled as paid · from $149/mo →

pkgroll pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

pkgroll fact sheet

Free planYes
Paid fromFree
TypeScript supportYes
Code splittingNot verified
Tree shakingYes
Source mapsYes
Plugin APINot verified
Remote build cacheNot verified
SupportDocs
Built forSolo, Small business, Mid-market (editorial estimate)
PricingFree plan
Websitegithub.com
Facts checked20 Sep 2026

Alternatives to pkgroll

See all pkgroll alternatives →

Used pkgroll? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used pkgroll for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — pkgroll 7.7/10

pkgroll is listed in our JavaScript Build Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/pkgroll/"><img src="https://www.itechguides.com/best/badge/pkgroll.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update