esbuild-cli v0.0.1 provides a real-time esbuild wrapper for CLI applications, enabling fast bundling and transpilation with TypeScript support. It targets Node >=16 and focuses on interactive development workflows. As a very early release (0.0.x), it lacks maturity and should be used with caution. Key differentiators: real-time rebuilds and CLI integration, but alternatives like esbuild's own CLI or tools like tsx are more stable and feature-rich.
npm install esbuild-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage of the build function to bundle a TypeScript entry point for Node.js. Note: requires Node >=16.
Lock to a specific version and test upgrades carefully.
Use import syntax or dynamic import().
Update Node.js to 16 or later.
Change to import or use dynamic import().
Use import { build } from 'esbuild-cli' or import esbuildCli from 'esbuild-cli' then use esbuildCli.build().Install esbuild as a dependency: npm install esbuild.
No dependency data recorded yet.