Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
lib/ | 2023-06-15 18:19 | - | ||
README.md | 2016-10-17 22:44 | 369 | d7c1522 post receive test [كارل مبارك] | |
package.json | 2023-06-15 18:21 | 1.3K |
# babel-plugin-syntax-jsx ## Installation ```sh $ npm install babel-plugin-syntax-jsx ``` ## Usage ### Via `.babelrc` (Recommended) **.babelrc** ```json { "plugins": ["syntax-jsx"] } ``` ### Via CLI ```sh $ babel --plugins syntax-jsx script.js ``` ### Via Node API ```javascript require("babel-core").transform("code", { plugins: ["syntax-jsx"] }); ```