qmetrics.net

browserify

Node-style CommonJS bundler for browser JavaScript

browserify screenshot

Browserify walks require() calls in your JavaScript and packs dependencies into one browser file. It supports npm modules, shims for Node core libs, and a CLI plus programmatic API.

Overview

Browserify lets front-end code use the same require() style as Node by recursively analyzing the dependency graph from entry files and emitting a single bundle for script tags. Many npm packages without Node-only I/O work after bundling; Node built-ins are available only when explicitly required through browser-specific shims.

The CLI accepts entry paths and options for debug source maps, external bundles, standalone UMD builds, and transforms such as CoffeeScript or coffeeify. The API exposes add, require, bundle, external, ignore, exclude, transform, and plugin hooks, plus a labeled internal pipeline you can extend.

package.json browser fields remap files for client builds. Patterns like multiple bundles with shared vendor chunks use external and require flags to cache common modules across pages. Plugins and handbook guides cover partitioning and advanced workflows; companion tools such as watchify, tinyify, and beefy are commonly used around Browserify in development.

Global variables process, __dirname, __filename, and global are defined in output when detected or when insertGlobals is enabled, improving compatibility with npm code in the browser.

Key features

  • Recursive require() dependency graph
  • npm module resolution in bundles
  • Node core library shims
  • CLI and JavaScript API
  • Inline or external source maps
  • Transform pipeline for compilers
  • package.json browser field support
  • Standalone UMD bundle option

Use cases

  • Bundling legacy CommonJS front ends
  • Using npm libraries in static sites
  • Splitting shared vendor bundles
  • Shipping browser builds with Node idioms
  • Prototyping before newer bundlers

Tags

Similar software

husky

Lightweight native Git hooks for Node projects

A small npm package that wires Git hooks via core.hooksPath to run checks on commit and push, including lint, tests, and message rules.

  • Uses Git core.hooksPath
  • All client-side Git hooks supported
  • macOS, Linux, and Windows support
JavaScriptLinux, macOS, WindowsDetails →
★ 35.4k⟳ 8 months agoMIT

gulp.js

Streaming JavaScript toolkit for development workflow automation

Gulp automates repetitive development tasks by chaining streaming file transformations. It offers a small API, thousands of plugins, and runs with Node.js and other platforms used in major IDEs.

  • Streaming in-memory file pipelines
  • Minimal task-oriented JavaScript API
  • Large curated plugin ecosystem
JavaScriptCLIDetails →
★ 32.9k⟳ 9 months agoMIT

electron-builder

Packaging and distribution tool for Electron applications

electron-builder produces macOS, Windows, and Linux installers and archives from Electron projects, with built-in auto-update hooks and publishing helpers.

  • Multi-platform installers
  • electron-updater integration
  • GitHub and S3 publishing
TypeScriptLinux, macOS, Windows, DockerDetails →
★ 14.7k⟳ todayMIT

Jib

Daemonless container image builder for Java applications

Jib builds optimized Docker and OCI images for Java apps without a Docker daemon. It ships as Maven and Gradle plugins, a core library, and a CLI.

  • Maven and Gradle plugins
  • Layered dependency and class splits
  • No Docker daemon required
JavaCLIDetails →
★ 14.5k⟳ todayApache-2.0

Rolldown

Rust JavaScript bundler with Rollup-compatible API

Bundles JavaScript and TypeScript using a Rust core, exposes Rollup-like APIs and plugins, and targets eventual use as Vite's bundler.

  • Rollup-compatible API surface
  • Rollup-style plugin interface
  • Rust implementation core
RustDetails →
★ 14.2k⟳ todayMIT

react-snap

Zero-config static prerendering crawler for SPAs

react-snap pre-renders single-page apps into static HTML by crawling links with Headless Chrome. It targets SEO and social sharing without framework-specific server rendering.

  • Headless Chrome site crawl
  • Static HTML output for SPAs
  • Create React App integration
JavaScriptDetails →
★ 5.1k⟳ 4 years agoMIT
Build & DeploymentNo commits in 18+ months