Transparently require()
cjsx from node
require('node-cjsx').transform()
node-cjsx
is activated for files with either .cjsx
or .coffee
extension.
npm install node-cjsx
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.