[Front-End General] js2coffee で JavaScript ファイルを CoffeeScript ファイルに変換する

memo.

[markdown]
Gruntfile を変換したかったのでインストールします。

## インストール

> * [js2coffee/js2coffee](https://github.com/js2coffee/js2coffee)

“`prettyprinted
% npm install -g js2coffee
“`

## つかいかた

input / output を指定したい場合は、こんな形式で。

“`prettyprinted
% js2coffee Gruntfile.js > Gruntfile.coffee
“`

インストールしなくても、ブラウザから実行できます。

2014-09-05_js2coffee_01

> * [Js2coffee: convert JavaScript code to CoffeeScript](http://js2coffee.org/)
[/markdown]