mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
e215a2d280e47e859a2c9680ca956a07d12503f0
* Write .coffee_history in $XDG_CACHE_HOME Previously, if the $HOME environmental variable was set, the .coffee_history file was written there. This is still the case, but first we check if $XDG_CACHE_HOME is set, and if so we write it there instead. This allows users who want to follow the XDG Base Directory Specification [0] to do so. Actually, this helps out *all* users who want to keep their home directory a bit cleaner. It seems that using this standardized environmental variable is the cleanest way to do this, rather than involving configuration files or command line flags or anything else. Fixes #3705. [0] https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html * Stylistic corrections Corrected some style deficiencies, thanks to helpful advice from @GeoffreyBooth.
{
} } {
{ { } }
} }{ {
{ }{ } } _____ __ __
{ }{ }{ { } / ____| / _|/ _|
.- { { } { }} -. | | ___ | |_| |_ ___ ___
( { } { } { } } ) | | / _ \| _| _/ _ \/ _ \
|`-..________ ..-'| | |___| (_) | | | || __/ __/
| | \_____\___/|_| |_| \___|\___|
| ;--.
| (__ \ _____ _ _
| | ) ) / ____| (_) | |
| |/ / | (___ ___ _ __ _ _ __ | |_
| ( / \___ \ / __| '__| | '_ \| __|
| |/ ____) | (__| | | | |_) | |_
| | |_____/ \___|_| |_| .__/ \__|
`-.._________..-' | |
|_|
CoffeeScript is a little language that compiles into JavaScript.
Installation
If you have the node package manager, npm, installed:
npm install --global coffeescript
Leave off the --global if you don’t wish to install globally.
Getting Started
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 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: http://coffeescript.org/#changelog
Our lovely and talented contributors are listed here: https://github.com/jashkenas/coffeescript/contributors
Languages
CoffeeScript
64.6%
JavaScript
35.4%