Skip to content

Instantly share code, notes, and snippets.

@anwarhamr
Forked from zkat/index.js
Last active November 25, 2019 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anwarhamr/124602d46c90a20c8254b8a8117017c1 to your computer and use it in GitHub Desktop.
Save anwarhamr/124602d46c90a20c8254b8a8117017c1 to your computer and use it in GitHub Desktop.
npx is cool

Just for Mimi

#!/usr/bin/env node
var cowsay = require('cowsay')
console.log(cowsay.say({
text : "Hi Mimi, Did you know...",
e : "oo",
T : "U "
}));
setTimeout(()=>{
console.log(cowsay.say({
text : "I'm udderly in love w/ you",
e : "-O",
T : "L "
}));},1200)
{"name": "npx-is-cool", "version": "0.0.0", "bin": "./index.js",
"dependencies": {
"cowsay":"1.4.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment