or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

docs

index.md
tile.json

tessl/npm-esbuild-darwin-arm64

The macOS ARM 64-bit binary distribution for esbuild, a JavaScript bundler.

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/esbuild-darwin-arm64@0.15.x

To install, run

npx @tessl/cli install tessl/npm-esbuild-darwin-arm64@0.15.0

index.mddocs/

esbuild-darwin-arm64

esbuild-darwin-arm64 is a platform-specific binary distribution package that provides the native macOS ARM64 executable for esbuild, an extremely fast JavaScript bundler and minifier. This package enables esbuild to achieve its exceptional performance on Apple Silicon Macs by providing the precompiled Go binary rather than a JavaScript implementation.

Package Information

  • Package Name: esbuild-darwin-arm64
  • Package Type: npm
  • Language: JavaScript (binary distribution)
  • Installation: npm install esbuild-darwin-arm64 (typically installed automatically as optional dependency)

Overview

esbuild-darwin-arm64 is the macOS ARM64 binary distribution for esbuild, enabling native performance on Apple Silicon Macs. Key features:

  • Native Performance: Pre-compiled Go binary for maximum bundling speed (10-100x faster than JavaScript bundlers)
  • Platform Optimization: Specifically compiled for macOS ARM64 architecture
  • Automatic Integration: Seamlessly integrates with the main esbuild package via optional dependencies
  • Memory Efficiency: Lower memory usage compared to JavaScript-based bundlers
  • Zero Configuration: Automatically selected by the main esbuild package on compatible systems

Core Imports

This package does not provide direct JavaScript imports. Instead, it integrates with the main esbuild package:

// The main esbuild package automatically uses this binary on macOS ARM64
const esbuild = require('esbuild');
// or
import * as esbuild from 'esbuild';

Basic Usage

While this package itself provides no API, it enables the main esbuild package to function optimally on macOS ARM64:

// Install main esbuild package (which includes this as optional dependency)
// npm install esbuild

const esbuild = require('esbuild');

// Build configuration that utilizes this binary on macOS ARM64
esbuild.build({
  entryPoints: ['src/app.js'],
  bundle: true,
  outfile: 'dist/app.js',
  platform: 'node'
}).catch(() => process.exit(1));

Capabilities

Binary Distribution

Provides the native macOS ARM64 executable for esbuild bundling operations.

{
  "name": "esbuild-darwin-arm64",
  "version": "0.15.18",
  "engines": {
    "node": ">=12"
  },
  "os": ["darwin"],
  "cpu": ["arm64"],  
  "preferUnplugged": true
}

Platform Integration

Automatically integrates with the main esbuild package through optional dependencies.

Performance Optimization

Enables native Go binary execution for maximum bundling performance on Apple Silicon Macs.

Platform Constraints

  • Operating System: darwin (macOS only)
  • CPU Architecture: arm64 (Apple Silicon)
  • Node.js Version: >= 12
  • Installation Preference: Unplugged (for Yarn PnP compatibility)

Architecture

This package is part of esbuild's distributed binary architecture:

  • Main Package (esbuild): Provides JavaScript API and platform detection
  • Binary Packages (like esbuild-darwin-arm64): Provide platform-specific compiled binaries
  • Installation Process: Post-install scripts detect platform and configure appropriate binary
  • Runtime Execution: Main package delegates to native binary for actual bundling operations

Related Packages

This package is one of many platform-specific binary distributions in the esbuild ecosystem:

  • esbuild-darwin-64 (macOS Intel)
  • esbuild-linux-64 (Linux x64)
  • esbuild-windows-64 (Windows x64)
  • esbuild-linux-arm64 (Linux ARM64)
  • And others for various platform/architecture combinations

Binary Distribution Benefits

  1. Performance: Native Go binary execution (10-100x faster than JavaScript bundlers)
  2. Platform Optimization: Compiled specifically for macOS ARM64 architecture
  3. Memory Efficiency: Lower memory usage compared to JavaScript-based bundlers
  4. Reliability: Consistent behavior across different Node.js versions

Installation Notes

  • This package is typically installed automatically as an optional dependency
  • Direct installation is rarely necessary: npm install esbuild-darwin-arm64
  • The package is only useful on macOS ARM64 systems
  • On other platforms, different binary packages will be used instead

Compatibility

  • macOS Versions: Compatible with macOS running on Apple Silicon (M1, M2, etc.)
  • Node.js Versions: Requires Node.js 12 or higher
  • Package Managers: Works with npm, yarn, and pnpm
  • Yarn PnP: Optimized for unplugged installation mode

No Programmatic API

Important: This package exposes no JavaScript functions, classes, constants, or types. It exists solely as a binary distribution mechanism. All esbuild API interactions must occur through the main esbuild package, which provides comprehensive JavaScript and CLI interfaces for bundling, minification, and transformation operations.