Registry / devops / esbuild-windows-32

esbuild-windows-32

JSON →
library0.15.18jsnpmunverified

esbuild-windows-32 is a platform-specific package containing the Windows 32-bit executable for esbuild. Esbuild is an extremely fast, modern JavaScript and CSS bundler and minifier written in Go. Its primary differentiator is its exceptional speed, often performing 10-100 times faster than traditional bundlers like Webpack or Rollup, attributed to its native Go implementation, heavy use of parallelism, and optimized memory access patterns. The current stable version of the core `esbuild` package is `0.28.0`, released in early April 2026. The project maintains a sustainable and active release cadence, with new versions typically published at least once every three months, reflecting ongoing development and improvements. Key features include built-in support for JavaScript, TypeScript, JSX, and CSS, comprehensive bundling of ESM and CommonJS modules, aggressive tree-shaking and minification, source map generation, a straightforward API for CLI, JavaScript, and Go, and a flexible plugin system. It's widely adopted and integrated into tools like Vite, Angular (v17+), and Ruby on Rails (v7+). This `esbuild-windows-32` package is an optional dependency for the main `esbuild` package, automatically installed by npm based on the detected operating system and architecture.

devopsweb-framework
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

This package (`esbuild-windows-32`) is an internal binary. Users typically interact with the main `esbuild` package, which dynamically loads the correct platform-specific binary. Named imports are standard for the `build` function.

import { build } from 'esbuild'

Used for incremental builds or watch mode. Introduced in `esbuild` v0.14.0. Always a named import from the top-level `esbuild` package.

import { context } from 'esbuild'

The `transform` function (and `transformSync`) is for transforming a single string of code without bundling. It's a named import. While `transformSync` exists, the async `transform` is generally preferred for performance in Node.js environments.

import { transform } from 'esbuild'

This quickstart demonstrates a basic esbuild setup to bundle a TypeScript application for Node.js, including minification, sourcemaps, and target environment configuration. The `esbuild-windows-32` binary is used automatically by the `esbuild` package on compatible Windows 32-bit systems.

import { build } from 'esbuild'; import path from 'path'; const projectRoot = process.cwd(); const entryPoint = path.join(projectRoot, 'src', 'index.ts'); const outputDir = path.join(projectRoot, 'dist'); async function bundleApp() { try { await build({ entryPoints: [entryPoint], bundle: true, minify: true, sourcemap: true, platform: 'node', format: 'esm', outdir: outputDir, target: ['node18', 'es2022'], define: { 'process.env.NODE_ENV': '"production"' }, logLevel: 'info', }); console.log('Build successful!'); } catch (error) { console.error('Build failed:', error); process.exit(1); } } bundleApp();
esbuild --version
Debug
Known footguns
breakingEsbuild releases frequently include backwards-incompatible changes. It is highly recommended to pin the exact version of `esbuild` in `package.json` (e.g., `"esbuild": "0.28.0"`) or use a caret range that only accepts patch upgrades (e.g., `^0.28.0`) to avoid unexpected breakages, especially for major/minor version bumps.
breakingStarting with versions released in 2024 (roughly `v0.24.0` and above), `esbuild` increased its minimum required Node.js version for its JavaScript API from Node 12 to Node 18. Running `esbuild` on older Node.js versions will result in errors due to an incompatibility with Go-generated JavaScript for the `esbuild-wasm` package.
breakingEsbuild v0.27.0 introduced deliberate backwards-incompatible changes, including conditional use of `Uint8Array.fromBase64` if available, with a fallback. This might cause subtle behavioral differences in environments where this function's availability varies.
breakingEsbuild v0.28.0 introduced integrity checks for fallback binary downloads and updated the Go compiler. While the Go compiler update is not expected to cause issues, it could potentially affect edge cases. The integrity checks are a security improvement.
gotchaWhen `esbuild` generates build metadata (metafiles), large JSON output can hit V8's implementation-specific maximum string length limit, causing `JSON.parse` to fail when accessing the metafile object via the JavaScript API.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
15 hits · last 30 days
gptbot
4
ahrefsbot
4
amazonbot
4
script
1
bingbot
1
chatgpt-user
1
Resources