Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikhail-ev/babel-plugin-transform-stringify-jsx
stringify-jsx plugin for babel
https://github.com/mikhail-ev/babel-plugin-transform-stringify-jsx
babel babel-plugins jsx stringify-jsx
Last synced: 3 days ago
JSON representation
stringify-jsx plugin for babel
- Host: GitHub
- URL: https://github.com/mikhail-ev/babel-plugin-transform-stringify-jsx
- Owner: mikhail-ev
- License: mit
- Created: 2019-10-14T20:02:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:57:43.000Z (about 2 years ago)
- Last Synced: 2025-01-02T03:53:31.784Z (6 days ago)
- Topics: babel, babel-plugins, jsx, stringify-jsx
- Language: JavaScript
- Size: 389 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# babel-plugin-transform-stringify-jsx
[Stringify-jsx](https://github.com/TargetTaiga/stringify-jsx) plugin for babel. Read more about [babel plugins](https://babeljs.io/docs/en/plugins#docsNav) or use [stringify-jsx](https://github.com/TargetTaiga/stringify-jsx) directly.## Quick start
```npm i --save-dev babel-plugin-transform-stringify-jsx```Inline:
```js
const babel = require('@babel/core');
babel.transform('code', { plugins: [['transform-stringify-jsx', { /* stringify-jsx options */}]], parserOpts: { plugins: ['jsx']} });
```
.babelrc:
```
{
"parserOpts": {
"plugins": ["jsx"]
},
"plugins": [["transform-stringify-jsx", { /* stringify-jsx options */ }]]
}
```