New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coffee-react

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffee-react

Coffeescript compiler wrapper adding coffee-react-transform CSX support

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
decreased by-42.25%
Maintainers
1
Weekly downloads
 
Created
Source

Coffee-React

Wrapper for the Coffeescript compiler executable using coffee-react-transform to support Coffeescript files including React JSX style markup (CSX).

If you just want to transform CSX code into valid Coffeescript as part of your existing build process see coffee-react-transform, which is the main parser/tranformer package.

Installation

npm install -g coffee-react

Usage

$ csx-coffee -h 

Usage: csx-coffee [options] path/to/script.csx -- [args]

If called without options, `csx-coffee` will run your script.

  -b, --bare         compile without a top-level function wrapper
  -c, --compile      compile to JavaScript and save as .js files
  -e, --eval         pass a string from the command line as input
  -h, --help         display this help message
  -j, --join         concatenate the source CoffeeScript before compiling
  -m, --map          generate source map and save as .map files
  -n, --nodes        print out the parse tree that the parser produces
      --nodejs       pass options directly to the "node" binary
      --no-header    suppress the "Generated by" header
  -o, --output       set the output directory for compiled JavaScript
  -p, --print        print out the compiled JavaScript
  -s, --stdio        listen for and compile scripts over stdio
  -l, --literate     treat stdio as literate style coffee-script
  -t, --tokens       print out the tokens that the lexer/rewriter produce
  -v, --version      display the version number
  -w, --watch        watch scripts for changes and rerun commands

Outputs compiled JS to a file of the same name:

$ csx-coffee -c my-component.csx

Keywords

FAQs

Package last updated on 07 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc