+0
日增长
16,594
stars
1,973
forks
481
watchers
1,261
prs
4,171
issues
1
releases
README
@@@@@@@ @@@@ @@@@@
@@@@@@@@@@ @@@ @@@ {
@@@@ @@ @@@ @@@ } } {
@@@@ @@@@@@@ @@@ @@@ @@@@@@ @@@@@@ { { } }
@@@@ @@@ @@ @@@@@ @@@@@@ @@@ @@ @@@@ @@ } }{ {
@@@@ @@@@ @@ @@@ @@@ @@@ @@@ @@@ @@@ { }{ } }
@@@@ @@@@ @@ @@@ @@@ @@@@@@@@ @@@@@@@@ { }{ }{ { }
@@@@@ @@@@ @@ @@@ @@@ @@@ @@@ { { } { } { } }
@@@@@@@@@@ @@@@@@@@ @@@ @@@ @@@@@@@@ @@@@@@@@ { } { } { }
@@@@@ @@@ @@@ @@@@@ @@@@@ @@@@@@ { } { } @@@@@@@
@@@ @@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@ @@@ @@@ @@ @@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@ @@ @@@ @@@@ @@ @@@@@@@@@@@@@@@@@@@@@@@@
@@@@ @@@ @@ @@@@ @@@ @@@@@@@@@@@@@@@@@@@@@
@@@@@ @@@@@ @@ @@ @@@ @@@@@@@ @@@@@ @@@ @@@@@@@@@@@@@@@@@@
@@@@@ @@@ @@@ @@@@@@@@ @@@@ @@@@ @@@@@@@ @@@ @@@@@@@@@@@@@@@@
@@@@@ @@@ @@@@ @@@@ @@@ @@@ @@@ @@@@@@@@@@@@@@
@@@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@
@@@ @@@@ @@@ @@@@ @@@@ @@@ @@@@ @@@@
@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@
@@@@@@@@@ @@@@@@ @@@@ @@@@ @@@@@@@@@ @@@@
@@@ @@@@
@@@
@@@
CoffeeScript is a little language that compiles into JavaScript.
Installation
Once you have Node.js installed:
shell
Install locally for a project:
npm install --save-dev coffeescript
Install globally to execute .coffee files anywhere:
npm install --global coffeescript
Getting Started
Execute a script:
shell
coffee /path/to/script.coffee
Compile a script:
shell
coffee -c /path/to/script.coffee
For documentation, usage, and examples, see: https://coffeescript.org/
To suggest a feature or report a bug: https://github.com/jashkenas/coffeescript/issues
If you’d like to chat, drop by coffeescript on Freenode IRC.
The source repository: https://github.com/jashkenas/coffeescript.git
Changelog: https://coffeescript.org/changelog
Our lovely and talented contributors are listed here: https://github.com/jashkenas/coffeescript/contributorsTop issues
#5307Discussion: TypeScript Output88 comments · 2020-02-29#5150Support CoffeeScript on the new `deno` JavaScript engine32 comments · 2019-01-18#4952Proposal: YAML-like structure syntax30 comments · 2018-02-19#5394Revisiting getters and setters26 comments · 2022-01-23#4985CS3 Discussion: Assignment scope26 comments · 2018-02-19#4865constructor renaming parameters25 comments · 2018-01-24#1774Proposal: Generate wrapper only when needed25 comments · 2011-10-17#4552Grammar, Nodes: Class fields/class property initializers24 comments · 2017-05-16
Latest release
2.7.1 2.7.1 2026-10-25Compatibility with Node 22 and later: stack trace patching and source maps now work correctly, and the new with { type: 'json' } import attributes syntax is supported alongside assert.
Numeric literals now support a capital E in scientific notation, and method calls on numbers with underscores such as 1_000.toString() now compile correctly.
Performance improvements to the flatten helper (no longer recursive), checkShebangLine and the number-matching regular expressions.
Documentation fixes: code snippets now run correctly again, and a hover line-height shift was fixed.
Continuous integ