Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

node-cjsx

SimonDegraeve2.2kMIT2.0.0

Transparently require() cjsx from node

react, coffee-react, coffee-script, node, jsx, cjsx

readme

node-cjsx

Transparently require() cjsx from node

Usage

require('node-cjsx').transform()

node-cjsx is activated for files with either .cjsx or .coffee extension.

Installation

npm install node-cjsx

Thanks

This package is inspired by node-jsx and use coffee-react-transform to handle cjsx transformation to CoffeeScript. Thanks to the authors for their great work.