# CoffeeScript to TypeScript: Status and Migration | gen2.dev

> CoffeeScript still publishes releases, but it does no type checking. Why teams such as Dropbox moved to TypeScript, and what the migration took.

Source: https://gen2.dev/successors/coffeescript/

---

Successor Map · Languages and runtimes

# CoffeeScript to TypeScript: from nicer syntax to checked types

CoffeeScript is still released, so this is not an end-of-life story. Teams such as Dropbox left over the language's ambiguities and for TypeScript's type checking, which CoffeeScript says it does not do itself.

![Slide: CoffeeScript on the left, an arrow, and TypeScript on the right.](https://gen2.dev/img/successor-coffeescript.png)

Status of the old tool

Still active

Effort to move

A real project

gen2.dev's view

Move when convenient

Sources checked

2026-11-28

## Key facts

Gen 1

![CoffeeScript logo](https://gen2.dev/icons/tech/coffeescript.png)CoffeeScript, first released as version 0.1.0 in 2009

Gen 2

![TypeScript logo](https://gen2.dev/icons/tech/typescript.png)TypeScript

Kind of tool

[Languages and runtimes](https://gen2.dev/successors/languages/)

Status of Gen 1

Still active The changelog on coffeescript.org lists version 2.7.1 on 2026-10-20, after 2.7.0 on 2022-04-23, and the repository is not archived.

Effort to move

A real project: plan it and run both for a while

Automate part of it

[decaffeinate](https://github.com/decaffeinate/decaffeinate) `decaffeinate input.coffee` Converts CoffeeScript source to modern JavaScript; adding TypeScript types is still yours to do.

What breaks

Automated conversion produces valid JavaScript whose behavior can differ in small ways, and Dropbox reports that its first attempt with a converter caused a major outage.

Should you move?

Move when convenient CoffeeScript still ships releases, so there is no deadline, but it does no type checking of its own and large teams have documented moving off it. This is gen2.dev's view, not the maintainers'.

Sources checked

2026-11-28, [5 sources](#sources)

## Gen 1 and Gen 2 side by side

npm registry

![CoffeeScript logo](https://gen2.dev/icons/tech/coffeescript.png)Gen 1

![TypeScript logo](https://gen2.dev/icons/tech/typescript.png)Gen 2

Package

[coffeescript](https://www.npmjs.com/package/coffeescript)

[typescript](https://www.npmjs.com/package/typescript)

Latest version

2.7.1

7.0.2

Latest release

Oct 25, 2026

Jul 8, 2026

First release

Mar 2, 2014

Oct 1, 2012

License

MIT

Apache-2.0

Downloads, last week

1,641,809

416,002,589

Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count.

## What Gen 1 was

"CoffeeScript is a little language that compiles into JavaScript." That is how its own documentation opens, followed by its golden rule: "It's just JavaScript." Version 0.1.0 is dated 2009-12-24 in the changelog and 1.0.0 followed on 2010-12-24.

It gave teams a shorter syntax that still compiled to ordinary JavaScript. Dropbox moved its web application to CoffeeScript during a Hack Week in 2012.

## What replaced it

TypeScript, for most teams that moved, and for a specific reason. The CoffeeScript documentation says, "CoffeeScript does not do any type checking itself." Its answer is to write Flow's comment-based type syntax and pass the output to Flow.

The language is not abandoned. CoffeeScript 2.0.0 is dated 2017-09-18, and the changelog lists 2.7.1 on 2026-10-20.

Dropbox described its own reasons in a 2020 retrospective. In a November 2015 survey of its engineers, "only 15% thought we should stay on CoffeeScript, and 62% felt we should ditch it." The complaints were about the language itself, including syntactic ambiguity that made errors easy to write.

## What moving involves

There are two steps, and only the first is automatic.

1.  **CoffeeScript to JavaScript.** The decaffeinate project describes its goal as "Fully automated conversion of the CoffeeScript language to modern JavaScript."
2.  **JavaScript to TypeScript.** The TypeScript handbook describes going file by file: accept JavaScript with `allowJs`, rename a file to `.ts` or `.tsx`, then turn on stricter options such as `noImplicitAny`.

Dropbox had 329,000 lines of CoffeeScript. It estimated a manual conversion at about 10 engineer-years, then built a pipeline: "First we ran decaffeinate to generate valid ES6," followed by its own converter to TypeScript. The automated migration took about two months.

Until the last file is converted, the codebase contains two languages. Plan for [running two systems at once](https://gen2.dev/guide/running-two-systems/): two compilers, two sets of lint rules and two sets of habits.

## What breaks

Converted code is valid, not necessarily identical in behavior. Dropbox writes that "our first attempt to use decaffeinate caused a major outage." It also describes a bug that came from a CoffeeScript scoping quirk surfacing after conversion.

The generated JavaScript is also not the code a person would write. Expect a cleanup pass, and expect the first TypeScript run to report a long list of type errors that were always there.

## Should you move?

Move when you are already working in that code. CoffeeScript still publishes releases, so nothing forces a date.

The exceptions are a small, stable codebase that nobody finds painful, which can stay where it is, and a large one under active development, where the lack of type checking is a daily cost and the move deserves its own plan. Start new work in TypeScript.

## Common questions

### Is CoffeeScript dead?

No. Its maintainers have not announced an end. The changelog on coffeescript.org lists version 2.7.1 on 2026-10-20, after 2.7.0 on 2022-04-23, and the repository is not archived.

### What replaced CoffeeScript?

TypeScript. Effort to move: A real project: plan it and run both for a while

### Should I move off CoffeeScript?

gen2.dev's view: Move when convenient. CoffeeScript still ships releases, so there is no deadline, but it does no type checking of its own and large teams have documented moving off it.

## Sources

1.  [CoffeeScript documentation and changelog - coffeescript.org](https://coffeescript.org/) - Describes the language, states that CoffeeScript does not do any type checking itself, and lists every release with its date, from 0.1.0 on 2009-12-24 to 2.7.1 on 2026-10-20.
2.  [jashkenas/coffeescript - GitHub](https://github.com/jashkenas/coffeescript) - The source repository; it is public and not archived, and the README makes no maintenance statement.
3.  [The Great CoffeeScript to Typescript Migration of 2017 - David Goldstein, Dropbox (May 13, 2020)](https://dropbox.tech/frontend/the-great-coffeescript-to-typescript-migration-of-2017) - Why Dropbox adopted CoffeeScript in 2012, the November 2015 survey, the size of the codebase, the tools used, the outage and the time the migration took.
4.  [decaffeinate README - GitHub](https://github.com/decaffeinate/decaffeinate) - Describes decaffeinate as converting CoffeeScript source to modern JavaScript and gives its status as complete.
5.  [Migrating from JavaScript - TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/migrating-from-javascript.html) - The file-by-file route from JavaScript to TypeScript: allowJs, renaming files to .ts or .tsx, and noImplicitAny.
6.  [coffeescript - npm](https://www.npmjs.com/package/coffeescript) - latest version, release dates, license and last week's downloads, read on November 29, 2026
7.  [typescript - npm](https://www.npmjs.com/package/typescript) - latest version, release dates, license and last week's downloads, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.

## How to do the move

The pattern that fits this kind of replacement:

[Running two systems](https://gen2.dev/guide/running-two-systems/)

[All successor entries](https://gen2.dev/successors/)

Also moving to TypeScript:

-   [Flow](https://gen2.dev/successors/flow/)

## More in Languages and runtimes

-    [![ES5 JavaScript logo](https://gen2.dev/icons/tech/es5-javascript.png) ES5 JavaScript to modern JavaScript Still active Mechanical Move when convenient](https://gen2.dev/successors/es5-javascript/)
-    [![Flow logo](https://gen2.dev/icons/tech/flow.png) Flow to TypeScript Still active A real project Move when convenient](https://gen2.dev/successors/flow/)
-    [![.NET Framework logo](https://gen2.dev/icons/tech/dotnet-framework.png) .NET Framework to .NET Maintenance only A real project Leave it](https://gen2.dev/successors/dotnet-framework/)
-    [![nvm logo](https://gen2.dev/icons/tech/nvm.png) nvm to fnm Still active Drop-in Leave it](https://gen2.dev/successors/nvm/)
-    [![Perl 5 logo](https://gen2.dev/icons/tech/perl.png) Perl 5 to Python Still active A real project Move when convenient](https://gen2.dev/successors/perl/)
-    [![PHP 8.2 and older logo](https://gen2.dev/icons/tech/php-8-2.png) PHP 8.2 and older to PHP 8.4+ Maintenance only Mechanical Move now](https://gen2.dev/successors/php-8-2/)
-    [![Windows Batch logo](https://gen2.dev/icons/tech/windows-batch.png) Windows Batch to PowerShell 7 Still active Mechanical Move when convenient](https://gen2.dev/successors/windows-batch/)

[All languages and runtimes](https://gen2.dev/successors/languages/)
