qmetrics.net

browserify

Node-style CommonJS bundler for browser JavaScript

Build & DeploymentDesktop/CLI app
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

nvm

POSIX shell version manager for Node.js

nvm installs and switches between Node.js versions from the command line on POSIX shells including bash and zsh.

★ 96.3k⟳ 2 days agoMIT
Build & DeploymentDesktop/CLI app

uv

Fast Python package and project manager

uv is a Rust-based tool that manages Python dependencies, virtual environments, scripts, and interpreters. It offers a pip-compatible interface and universal lockfiles for projects.

★ 92.7k⟳ 2 days agoApache-2.0
Build & DeploymentDesktop/CLI app

Hugo

Go-based static site generator with flexible templating

Hugo is a static site generator written in Go. It turns content and templates into deployable HTML sites with asset pipelines for CSS, JavaScript, Sass, and images.

★ 90.6k⟳ todayApache-2.0
Build & DeploymentDesktop/CLI app

Vite

Frontend build tool for modern web projects

Vite is a build tool for modern web projects, combining a development server with an optimized production build. It targets a faster, leaner local development workflow.

★ 84.2k⟳ yesterdayMIT
Build & DeploymentDesktop/CLI app

act

Local runner for GitHub Actions workflows

A command-line tool that executes GitHub Actions workflows on your machine using Docker. It mirrors GitHub’s environment for faster feedback while editing workflow files.

★ 72.8k⟳ 12 days agoMIT
Build & DeploymentDesktop/CLI app

Moby

Modular toolkit for assembling container systems

Moby bundles container build, runtime, registry, and orchestration components so integrators can craft custom container platforms instead of using a single fixed product.

★ 72.3k⟳ todayApache-2.0