Skip to content

Instantly share code, notes, and snippets.

@imryan
Created December 25, 2013 18:56
Show Gist options
  • Save imryan/8125907 to your computer and use it in GitHub Desktop.
Save imryan/8125907 to your computer and use it in GitHub Desktop.
Simple Merry Christmas script.
function greet() {
var sleep = require('sleep');
var letters = [ "M", "E", "R", "R", "Y", " ",
"C", "H", "R", "I", "S", "T", "M", "A", "S" ];
for (var i = 0; i < letters.length; i++) {
sleep.usleep(100900);
process.stdout.write(letters[i] + " ");
}
}
greet();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment