.do
Development

esbuild

Build and bundle JavaScript at the edge with esbuild's blazing-fast performance. Transform TypeScript, JSX, and modern JS in <10ms. Zero configuration, full type safety, instant dev server.

esbuild

Esbuild.do

Overview

The esbuild primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.

Semantic Pattern

All esbuild operations follow the semantic $.Esbuild.verb.Object pattern:

import { $, esbuild } from 'sdk.do'

// Create resources
await $.Esbuild.create.Resource({ /* config */ })

// Query data
await $.Esbuild.get.Data({ /* params */ })

// Update state
await $.Esbuild.update.Status({ /* changes */ })

Quick Start

import { esbuild } from 'sdk.do'

// Initialize and use the primitive
const result = await esbuild.operation({
  // configuration parameters
})

Access Methods

The esbuild primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

import { esbuild } from 'sdk.do'
await esbuild.method({ /* ... */ })

SDK Documentation

CLI

Command-line interface for terminal operations:

do esbuild <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

curl -X POST https://api.do/v1/esbuild \
  -H "Content-Type: application/json" \
  -d '{"key":"value"}'

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use esbuild primitives with AI assistants via MCP

MCP Documentation

See other primitives in the development category.