# packd **Repository Path**: mirrors_xtuc/packd ## Basic Information - **Project Name**: packd - **Description**: Rollup as a service (with a little help from Browserify) - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2026-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # packd [Rollup](https://rollupjs.org) as a service (with a little help from [Browserify](http://browserify.org/)). This is a simple app for generating UMD bundles of npm packages, similar to [browserify-cdn](https://github.com/jfhbrook/wzrd.in) aka [wzrd.in](https://wzrd.in/). I made it because wzrd.in sometimes goes offline, and I need its functionality for the [Svelte REPL](https://svelte.technology/repl). Unfortunately I couldn't get browserify-cdn to run on [now.sh](https://zeit.co/now), so I decided to roll my own. And since I was *roll*ing my own, it made sense to use [Rollup](https://rollupjs.org). (Feel free to roll your eyes.) For npm packages that expose [`pkg.module`](https://github.com/rollup/rollup/wiki/pkg.module), such as the [D3 modules](https://github.com/d3), this means you get smaller, more efficient bundles than with browserify-cdn. packd also gzips the files it serves, typically resulting in much smaller requests. Since Rollup can't handle all of the CommonJS code on npm, packd will use Browserify (or a combination of Rollup and Browserify) where appropriate. ## Using packd You can try a hosted version of packd at https://packd.now.sh. **This is not designed with production use in mind! Please host your own instance if you want to use packd for your own apps.** Bundles can be accessed [like so](https://packd.now.sh/left-pad). Bear in mind that if a bundle isn't cached, it needs to be installed and built before it can be served, which may take a little while: ``` /[name] ``` You can specify a tag (e.g. 'latest') or a version (e.g. '1.2.3'): ``` /[name]@latest ``` If you're using these URLs with `