Skip to content

mikekono/decaffeinate

 
 

Repository files navigation

decaffeinate

CoffeeScript in, modern JavaScript out.

JavaScript is the future, in part thanks to CoffeeScript. Now that it has served its purpose, it's time to move on. Convert your CoffeeScript source to modern JavaScript with decaffeinate.

Install

$ npm install -g decaffeinate

To use the development version of decaffeinate, use the @dev tag:

$ npm install -g decaffeinate@dev

The dev version is based on the master branch and may be incomplete or broken.

Status

Incomplete. Check the issues page for outstanding bugs and incomplete features. This project should not yet be relied upon for production use.

Goals

  • Fully automated conversion of the CoffeeScript language to modern JavaScript.
  • Preserve whitespace, formatting, and comments as much as possible to allow a full one-time conversion of your CoffeeScript source code.
  • Provide helpful error messages when it encounters an unsupported language construct.

Usage

See the output of decaffeinate --help after installing.


Packages

No packages published

Languages

  • JavaScript 99.6%
  • Shell 0.4%