An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# jstransformer-jsx

[JSX](https://www.npmjs.com/package/react-tools#jsx) support for [JSTransformers](http://github.com/jstransformers).

[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-jsx/master.svg)](https://travis-ci.org/jstransformers/jstransformer-jsx)
[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-jsx/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-jsx)
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-jsx/master.svg)](http://david-dm.org/jstransformers/jstransformer-jsx)
[![NPM version](https://img.shields.io/npm/v/jstransformer-jsx.svg)](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