
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
Creates ESM bundles of npm packages for use in the browser or Node.js.
$ brrp -x lodash.merge > lodash-merge.bundle.js
This will do a fresh install of the npm module lodash.merge in temporary
directory and then create a bundle of the module.
If you have the target module already installed in your local npm project
you can avoid running any npm install locally by omitting the -x property.
$ brrp lodash.merge > lodash-merge.bundle.js
You can import brrp into Node.js for use in your own tooling.
import { install, browserBundle } from 'brrp'
const { input } = await install('lodash.merge')
const stream = browserBundle({input})
for await (const chunk of stream) {
process.stdout.write(chunk)
}
By default we don't bundle in any Node.js polyfills. You can include them
by using the -p or --node-polyfills option.
$ brrp -x -p base-x
Or, if you're using brrp as a module.
import { install, browserBundle } from 'brrp'
const { input } = await install('lodash.merge')
const nodePolyfills = true
const stream = browserBundle({input, nodePolyfills})
for await (const chunk of stream) {
process.stdout.write(chunk)
}
$ brrp -x -m bent
Or, if you're using brrp as a module.
import { install, browserBundle } from 'brrp'
const { input } = await install('bent')
const minify = true
const stream = browserBundle({input, minify})
for await (const chunk of stream) {
process.stdout.write(chunk)
}
We use terser under the hood
for optimal compression targetted at ES6+.
FAQs
ESM bundle npm modules for browsers and nodejs
The npm package brrp receives a total of 2 weekly downloads. As such, brrp popularity was classified as not popular.
We found that brrp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.