Registry / devops / esbuild-darwin-64-for-imba

esbuild-darwin-64-for-imba

JSON →
library0.0.2035jsnpmunverified

esbuild is an extremely fast JavaScript bundler and minifier written in Go. Version 0.0.2035 provides the macOS 64-bit binary for the esbuild package. esbuild is known for its speed, often 10-100x faster than traditional bundlers like Webpack or Rollup. It supports ES modules, CommonJS, TypeScript, JSX, CSS bundling, and code splitting. The binary package is platform-specific and typically installed automatically as a dependency of the main 'esbuild' package. This release cadence is frequent, with multiple versions per month. Key differentiators: speed, minimal configuration, built-in bundling and minification, and support for modern JavaScript and CSS.

npm install esbuild-darwin-64-for-imba
INSTALL
IMPORT
SIG · ESBUILD-DARWIN-64-
E
esbuild-darwin-64-for-imba
devopsjavascriptv0.0.2035
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

esbuild
import * as esbuild from 'esbuild'
import esbuild from 'esbuild'
The main 'esbuild' package exports a namespace object, not a default export. Use import * as esbuild or require('esbuild') for CommonJS.
build
import { build } from 'esbuild'
import build from 'esbuild'
build is a named export from the esbuild package. CommonJS: const { build } = require('esbuild');
transform
import { transform } from 'esbuild'
import { transform } from 'esbuild-darwin-64-for-imba'
This is a platform-specific binary package; do not import from it directly. Use the main 'esbuild' package.

Shows how to use esbuild's build API to bundle a JavaScript file, with Node.js platform and target.

// Install esbuild: npm install esbuild import { build } from 'esbuild'; await build({ entryPoints: ['app.js'], bundle: true, outfile: 'out.js', platform: 'node', // or 'browser' target: 'node12', // or e.g. 'es2020' }); // Alternatively, use the CLI: // npx esbuild app.js --bundle --outfile=out.js --platform=node --target=node12 // For TypeScript: await build({ entryPoints: ['app.ts'], bundle: true, outfile: 'out.js', });
Debug
Known issues
gotchaPlatform-specific package: esbuild-darwin-64-for-imba is a binary dependency of esbuild. Do not install it directly; use the main esbuild package.
fix
Run: npm install esbuild (not esbuild-darwin-64-for-imba).
affects: >=0.0.2035
deprecatedSome specific binary package names are deprecated. Use the main esbuild package which auto-selects the correct binary.
fix
Install esbuild: npm install esbuild
affects: >=0.8.0
gotchaNode.js engine requirement: esbuild requires Node.js >=12. Using older Node versions will cause errors.
fix
Upgrade Node.js to >=12.
affects: >=0.0.2035
Errors
Common errors & fixes
Error: The platform "win32" is incompatible with this module.
Attempting to use the macOS binary on Windows.
fix
Ensure you install the main 'esbuild' package, which will automatically download the correct binary for your platform.
Module not found: Can't resolve 'esbuild'
The main esbuild package is not installed, only the platform binary.
fix
Install esbuild: npm install esbuild --save-dev
esbuild: No platform-specific binary found for current platform (win32-x64).
Missing platform binary or corrupted install.
fix
Reinstall esbuild: npm rebuild esbuild or npm install esbuild.
Upgrade
Version history
0.0.2035latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
esbuild-darwin-64-for-imba — npm install esbuild-darwin-64-for-imba · libregistry