esbuild-freebsd-64 is a specific platform binary package providing the core native module for esbuild on FreeBSD 64-bit systems. esbuild is a high-performance JavaScript bundler and minifier known for its exceptional speed. It processes JavaScript, TypeScript, JSX, TSX, CSS, and JSON, offering features like tree-shaking, minification, source map generation, and a powerful transformation API. While the main esbuild project is actively developed, with versions reaching up to `v0.28.x` (as of April 2026), this specific binary package (`esbuild-freebsd-64`) is at version `0.15.18`, corresponding to older `esbuild` releases. Users typically interact with the main `esbuild` package, which then selects and leverages the appropriate platform-specific binary, such as this one, as an optional dependency. Its primary differentiator is its build speed, making it suitable for development workflows where rapid rebuilds are critical, often outperforming other bundlers like Webpack or Rollup.
Verified import paths — ran on the pinned version, not inferred.
The 'esbuild-freebsd-64' package provides the native binary, but the public API is imported from the main 'esbuild' package. ESM is standard; CJS is also supported.
For transforming individual code strings or buffers, use the named `transform` export. Avoid deep imports from `lib/` as they are internal and subject to change.
When importing types in TypeScript, use `import type` for clarity and to prevent runtime imports. This type is used with `formatMessages`.
This quickstart demonstrates how to use the esbuild `build` API to bundle a TypeScript file into an optimized ES module for Node.js, including minification and source maps.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.