coffee-script-nightly

1.7.0-nightly0 • Public • Published

CoffeeScript Nightly

npm install --save coffee-script-nightly

Changes from jashkenas/master

  • Power operator **, true mathematical modulo %%, integer division // from #2887
    • removes // as empty regexp
  • Generators via --> and ==>, yield support, yield from as JS yield* from #3316
  • Expansion in array destructuring [.., last] = array from #3268

Changes from 1.6.3

  • require('coffee-script') doesn't auto register CoffeeScript file extensions, instead use require 'coffee-script/register'. Same goes for Mocha or gulp.
  • updated source maps syntax
  • chaining syntax
    'p'
      .css activeCss 'p'
      .show()
  • multiline literal strings
    "Will be
     joined 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

Readme

Keywords

none

Package Sidebar

Install

npm i coffee-script-nightly

Weekly Downloads

0

Version

1.7.0-nightly0

License

MIT

Last publish

Collaborators

  • xixixao