Guide to Creating NPM Packages

Bundling

Microbundle

npm version license monthly downloads github stars

  • Create a Node module ready to be published to NPM
  • Produce multiple formats at once: ES Modules (import / export), Node’s CommonJS (require() / module.exports), and UMD that works everywhere.
  • Supports TypeScript, JSX, ES+, async/await
  • Uses Rollup to efficiently bundle