What problem does it solve?
Writes, debugs, and refactors JavaScript code using modern ES2023+ features, async/await patterns, ESM module systems, and Node.js APIs. Use when building vanilla JavaScript applications, implementing Promise-based async flows, optimising browser or Node.js performance, working with Web Workers or Fetch API, or reviewing .js/.mjs/.cjs files for correctness and best practices.
Core Features & Use Cases
- Broad ES2023+ feature support including optional chaining, nullish coalescing, and top-level await
- Async/await oriented coding patterns with robust error handling and JSDoc documentation
- ES module (ESM) oriented development with import/export, dynamic imports, and Node.js compatibility
- Guidance for performance, modular architectures, and browser/Node.js environments
- Real-world use: refactor legacy code, implement Promise-based flows, and optimize code paths
Quick Start
Convert a legacy JavaScript file into an ES2023+ module using async/await, optional chaining, and modern import/export syntax.