{"id":25439,"library":"esbuild-react","title":"esbuild React CLI","description":"esbuild-react is a CLI tool (v0.2.2) for scaffolding barebones React projects that compile with esbuild for maximum speed. It is built with oclif and offers optional choices for TypeScript or JavaScript and npm or Yarn as package managers. The package is stable but has very low download volume and appears to be a small utility rather than a widely maintained library. It requires Node >=8.0.0 and ships TypeScript types. Differentiators include its singular focus on fast esbuild-based setup versus alternatives like create-react-app.","status":"active","version":"0.2.2","language":"javascript","source_language":"en","source_url":"https://github.com/h-dong/esbuild-react","tags":["javascript","oclif","typescript"],"install":[{"cmd":"npm install esbuild-react","lang":"bash","label":"npm"},{"cmd":"yarn add esbuild-react","lang":"bash","label":"yarn"},{"cmd":"pnpm add esbuild-react","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is a CLI tool; programmatic imports are not typical. ESM-only.","wrong":"const esbuildReact = require('esbuild-react')","symbol":"default","correct":"import esbuildReact from 'esbuild-react'"},{"note":"Use npx or global install. Flags are -l/--language and -p/--package-manager with = syntax.","wrong":"esbuild-react my-app --lang=javascript","symbol":"run CLI","correct":"npx esbuild-react my-app -l=typescript -p=npm"}],"quickstart":{"code":"npx esbuild-react my-react-app -l=typescript -p=npm\ncd my-react-app\nnpm start","lang":"javascript","description":"Scaffold a new React project with TypeScript and npm using esbuild as the bundler."},"warnings":[{"fix":"Use Node v14+ for best results.","message":"The CLI may require Node >=8.0.0, but newer Node versions (>=14) are recommended for esbuild compatibility.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Consider using Vite or create-react-app with esbuild if issues arise.","message":"The package has not been updated since 2021; check for compatibility with latest React and esbuild versions.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `npm install -g esbuild-react` or use `npx esbuild-react`.","cause":"Package not installed globally or missing from node_modules.","error":"Error: Cannot find module 'esbuild-react'"},{"fix":"Add esbuild as a dependency: `npm install --save-dev esbuild`.","cause":"esbuild not installed; the CLI may assume esbuild is globally available.","error":"'esbuild' is not recognized as an internal or external command"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}