.coffee CoffeeScript document

Text & source code

MIME typeapplication/vnd.coffeescript
DescriptionCoffeeScript document
CategoryText & source code
Based ontext/plain

Frequently asked questions

What is a .coffee file?

A .coffee file is a “CoffeeScript document” (MIME type application/vnd.coffeescript).

How do I open a .coffee file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .coffee file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.coffee shows the guessed type.

Which format is .coffee based on?

Technically a .coffee file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .coffee?

The MIME type is application/vnd.coffeescript. In the Apache web server: AddType application/vnd.coffeescript .coffee; in nginx: types { application/vnd.coffeescript coffee; }.

Nearby entries