A little language that compiles into JavaScript
open sourceMITfree
CoffeeScript is a small language that compiles one-to-one into readable JavaScript, with no interpretation at runtime, so any JavaScript library works from it and the other way round. Its syntax is indentation-based and terse, with comprehensions, destructuring, the existential operator and implicit returns; CoffeeScript 2 compiles to modern JavaScript (classes, async functions, modules) and supports JSX, source maps and Literate CoffeeScript. Install the coffeescript npm package to get the coffee compiler.
Ways to install
Package managers
Libraries for JavaScript and TypeScript
View 40 more
- Playwright
- Next.js
- Pulumi
- Hindsight
- Cognee
- Oxc
- Tauri
- Weights & Biases
- Selenium
- Tailwind CSS
- Babel
- gRPC
- Payload
- Convex
- Tiptap
- DeepEval
- Angular
- Temporal
- Browser Use
- Pi
- Claude-Mem
- Skyvern
- Docusaurus
- Protocol Buffers
- p5.js
- QMD
- Composio
- Trigger.dev
- PostCSS
- Better Auth
- Storybook
- Vitest
- Expo
- Medusa
- Jitsi Meet
- Lexical
- LanceDB
- MinerU
- Headroom
- Saleor
Browse all of them: 859 libraries, 201 frameworks, 498 APIs, 37 templates.
Problems it solves
- write JavaScript with less punctuation and boilerplate
- a terse, indentation-based language for Node.js and the browser that uses npm libraries as they are
- maintain an older codebase written in a compile-to-JavaScript language
Features
- compiles one-to-one into readable JavaScript
- uses any JavaScript library directly
- comprehensions, destructuring and the existential operator
- JSX, source maps and Literate CoffeeScript
- coffee command-line compiler and Node.js register hook
