{"library":"jsx-transform-modern","type":"library","category":null,"description":"A standalone JSX transpiler that desugars JSX into JavaScript, decoupled from React. Version 2.0.3 is the current stable release; the project is in maintenance mode. It is a rewrite of jsx-transform using acorn for parsing, aiming to be a drop-in replacement with the same API. Unlike Babel's JSX plugin, it requires no React dependency and offers configurable factory functions, spread handling, and unknown tag patterns. It provides three main functions: fromString, fromFile, and browserifyTransform. It supports Node.js and browser environments, though browser usage typically requires a bundler. Releases are infrequent, with no recent updates. Preferred over babel for minimal, non-React JSX transformations.","language":"javascript","status":"maintenance","version":"2.0.3","tags":["javascript","jsx","jsx-transform"],"last_verified":"Fri May 01","install":[{"cmd":"npm install jsx-transform-modern","imports":["import jsx from 'jsx-transform-modern'","import { fromString } from 'jsx-transform-modern'","import { fromFile } from 'jsx-transform-modern'"]},{"cmd":"yarn add jsx-transform-modern","imports":[]},{"cmd":"pnpm add jsx-transform-modern","imports":[]}],"homepage":null,"github":"https://github.com/brenca/jsx-transform-modern","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jsx-transform-modern","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}