CoffeeScript

CoffeeScript
ParadigmsMulti-paradigm: prototype-based, functional, imperative, scripting
FamilyECMAScript
Designed byJeremy Ashkenas
Developersame
First appearedDecember 13, 2009 (2009-12-13)
Stable release
2.7.0  / 24 April 2022 (24 April 2022)
Typing disciplinedynamic, implicit
Scopelexical
Implementation languageCoffeeScript
Platformx86-64
OSCross-platform
LicenseMIT
Filename extensions.coffee, .litcoffee
Websitecoffeescript.org
Influenced by
Haskell, JavaScript, Perl, Python, Ruby, YAML
Influenced
MoonScript, LiveScript, JavaScript

CoffeeScript is a programming language that compiles to JavaScript. It adds syntactic sugar inspired by Ruby, Python, and Haskell in an effort to enhance JavaScript's brevity and readability. Some added features include list comprehension and destructuring assignment.

CoffeeScript support is included in Ruby on Rails version 3.1 and Play Framework. In 2011, Brendan Eich referenced CoffeeScript as an influence on his thoughts about the future of JavaScript.