2014-02-28 01:19:04 -05:00
|
|
|
|
{
|
|
|
|
|
} } {
|
|
|
|
|
{ { } }
|
|
|
|
|
} }{ {
|
|
|
|
|
{ }{ } } _____ __ __
|
|
|
|
|
{ }{ }{ { } / ____| / _|/ _|
|
|
|
|
|
.- { { } { }} -. | | ___ | |_| |_ ___ ___
|
|
|
|
|
( { } { } { } } ) | | / _ \| _| _/ _ \/ _ \
|
|
|
|
|
|`-..________ ..-'| | |___| (_) | | | || __/ __/
|
|
|
|
|
| | \_____\___/|_| |_| \___|\___|
|
|
|
|
|
| ;--.
|
|
|
|
|
| (__ \ _____ _ _
|
|
|
|
|
| | ) ) / ____| (_) | |
|
|
|
|
|
| |/ / | (___ ___ _ __ _ _ __ | |_
|
|
|
|
|
| ( / \___ \ / __| '__| | '_ \| __|
|
|
|
|
|
| |/ ____) | (__| | | | |_) | |_
|
|
|
|
|
| | |_____/ \___|_| |_| .__/ \__|
|
|
|
|
|
`-.._________..-' | |
|
|
|
|
|
|_|
|
|
|
|
|
|
|
|
|
|
CoffeeScript is a little language that compiles into JavaScript.
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
2017-05-14 14:12:50 -04:00
|
|
|
|
Once you have Node.js installed:
|
2014-02-28 01:19:04 -05:00
|
|
|
|
|
|
|
|
|
```shell
|
2017-05-14 14:12:50 -04:00
|
|
|
|
npm install --global coffeescript
|
2014-02-28 01:19:04 -05:00
|
|
|
|
```
|
|
|
|
|
|
2017-02-18 02:47:02 -05:00
|
|
|
|
Leave off the `--global` if you don’t wish to install globally.
|
2014-02-28 01:19:04 -05:00
|
|
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
|
|
|
|
|
Execute a script:
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
coffee /path/to/script.coffee
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Compile a script:
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
coffee -c /path/to/script.coffee
|
|
|
|
|
```
|
|
|
|
|
|
2016-11-17 12:57:03 -05:00
|
|
|
|
For documentation, usage, and examples, see: http://coffeescript.org/
|
2014-02-28 01:19:04 -05:00
|
|
|
|
|
2017-04-17 22:43:10 -04:00
|
|
|
|
To suggest a feature or report a bug: https://github.com/jashkenas/coffeescript/issues
|
2014-02-28 01:19:04 -05:00
|
|
|
|
|
2017-02-18 02:47:02 -05:00
|
|
|
|
If you’d like to chat, drop by #coffeescript on Freenode IRC.
|
2014-02-28 01:19:04 -05:00
|
|
|
|
|
2014-05-08 15:07:42 -04:00
|
|
|
|
The source repository: https://github.com/jashkenas/coffeescript.git
|
2014-02-28 01:19:04 -05:00
|
|
|
|
|
2016-11-17 12:57:03 -05:00
|
|
|
|
Changelog: http://coffeescript.org/#changelog
|
2015-02-21 13:59:35 -05:00
|
|
|
|
|
2017-04-17 22:43:10 -04:00
|
|
|
|
Our lovely and talented contributors are listed here: https://github.com/jashkenas/coffeescript/contributors
|