UNPKG

to-esx

Version:

Converts JSX and `React.createElement` into [esx](https://github.com/esxjs/esx)

27 lines (14 loc) 774 B
# to-esx Converts JSX and `React.createElement` into [esx](https://github.com/esxjs/esx) The basis of: * [`esx-optimize`](https://github.com/esxjs/esx-optimize) * [`babel-plugin-esx-ssr`](https://github.com/esxjs/babel-plugin-esx-ssr) ## API ### `convert(source) => String` Accepts source code as a string, returns the converted source. ## Contributions `esx` is an **OPEN Open Source Project**. This means that: > Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. See the [CONTRIBUTING.md](https://github.com/esxjs/esx/blob/master/CONTRIBUTING.md) file for more details. ## License [MIT](./LICENSE)