CoffeeScript Nightly
npm install --save coffee-script-nightly
jashkenas/master
Changes from- Power operator
**
, true mathematical modulo%%
, integer division//
from #2887- removes
//
as empty regexp
- removes
- Generators via
-->
and==>
, yield support,yield from
as JSyield*
from #3316 - Expansion in array destructuring
[.., last] = array
from #3268
1.6.3
Changes fromrequire('coffee-script')
doesn't auto register CoffeeScript file extensions, instead userequire 'coffee-script/register'
. Same goes for Mocha or gulp.- updated source maps syntax
- chaining syntax$ 'p'css activeCss 'p'show
- multiline literal strings"Will bejoined by a space."
README
CoffeeScript is a little language that compiles into JavaScript.
Install Node.js, and then the CoffeeScript compiler: sudo bin/cake install
Or, if you have the Node Package Manager installed: npm install -g coffee-script (Leave off the -g if you don't wish to install globally.)
Execute a script: coffee /path/to/script.coffee
Compile a script: coffee -c /path/to/script.coffee
For documentation, usage, and examples, see: http://coffeescript.org/
To suggest a feature, report a bug, or general discussion: http://github.com/jashkenas/coffee-script/issues/
If you'd like to chat, drop by #coffeescript on Freenode IRC, or on webchat.freenode.net.
The source repository: git://github.com/jashkenas/coffee-script.git
Top 100 contributors are listed here: http://github.com/jashkenas/coffee-script/contributors