Command Palette

Search for a command to run...

position in category
#27

A little language that compiles into JavaScript. It surfaces JavaScript's strengths through a cleaner syntax: significant whitespace instead of curly braces, no semicolons, and expression-oriented constructs that compile one-to-one to equivalent JS with no runtime interpretation.

Created by Jeremy Ashkenas and used in notable projects such as Atom and Basecamp. CoffeeScript stands apart from alternatives like TypeScript by focusing purely on syntactic sugar rather than static typing. The golden rule is that it is just JavaScript: any existing JS library works seamlessly from CoffeeScript, and the compiled output is readable and tends to run as fast or faster than handwritten equivalents.

Key features:

  • Significant whitespace and expression-oriented syntax for less boilerplate
  • Compiles to modern ES6+ JavaScript with optional Babel transpilation
  • JSX support for React and other frameworks
  • Source maps for debugging, REPL for quick experimentation
  • Node.js CLI with watch mode, literate mode, and coffeescript/register for require

Developers use CoffeeScript to write web and Node applications with fewer keystrokes while keeping full interoperability with the JavaScript ecosystem. Integrates with npm, Webpack, Gulp, Grunt, and other build tools. Suited for teams who prefer Python-like readability and concision over JavaScript's verbosity.

GitHub Repositories
157
-6.5%
Trending down this week
Removed in 11 repos