Sample file download

Sample CoffeScript file (.coffee)

CoffeScript is a language that compiles to JavaScript.

Here is the file type:

$ file ASCII text

Here is how to run the file:

$ coffee
Sample Coffescript file

And how to compile it to JS:

$ coffee -c
$ cat sample.js 
// Generated by CoffeeScript 1.6.1
(function() {
  var sample;

  sample = function(text) {
    return console.log(text);

  sample("Sample Coffescript file");


Sample CoffeeScript file: download here.

More information on CoffeeScript


Top Site Counter