https://github.com/jstransformers/jstransformer-jsx
JSX support for JSTransformers.
https://github.com/jstransformers/jstransformer-jsx
Last synced: 11 months ago
JSON representation
JSX support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-jsx
- Owner: jstransformers
- License: mit
- Created: 2015-04-08T04:10:28.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T04:12:25.000Z (about 6 years ago)
- Last Synced: 2025-04-16T06:30:45.742Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-jsx
- Size: 48.8 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-jsx
[JSX](https://www.npmjs.com/package/react-tools#jsx) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-jsx)
[](https://codecov.io/gh/jstransformers/jstransformer-jsx)
[](http://david-dm.org/jstransformers/jstransformer-jsx)
[](https://www.npmjs.org/package/jstransformer-jsx)
## Installation
npm install jstransformer-jsx
## API
```js
var jsx = require('jstransformer')(require('jstransformer-jsx'))
jsx.renderFile('example.jsx').body
//=> Compiled JSX as JavaScript
```
## License
MIT