recma-build-jsx
JSON →This package, `recma-build-jsx`, is a plugin within the unified ecosystem, specifically designed for `recma` (a sub-project focused on JavaScript Abstract Syntax Trees). Its primary function is to transform JSX syntax (e.g., `<x />`) found in a JavaScript AST into standard JavaScript function calls, such as `React.createElement('x', {})` or `_jsx('x', {})`, making the JSX evaluable in a runtime environment. Currently at version 1.0.0, the `recma` collective maintains compatibility with actively supported Node.js versions, with new major releases typically dropping support for unmaintained Node.js runtimes. This plugin is essential when processing JavaScript code containing JSX as part of a larger transformation pipeline, often alongside other `recma` plugins like `recma-parse` (for parsing), `recma-jsx` (for enabling JSX parsing), and `recma-stringify` (for serializing back to code). It differentiates itself by integrating seamlessly into the `unified` processing flow, abstracting lower-level utilities like `estree-util-build-jsx` for a higher-level declarative API.
Traffic · last 30 days ↓60% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇫🇷 France · 🇳🇴 Norway · 🇨🇦 Canada