Skip to content

Instantly share code, notes, and snippets.

@ValeryC
Created March 23, 2018 18:40
Show Gist options
  • Save ValeryC/74a7179dd179ef684e7217c8360f5603 to your computer and use it in GitHub Desktop.
Save ValeryC/74a7179dd179ef684e7217c8360f5603 to your computer and use it in GitHub Desktop.
cow says hello with node js, you call a function cowsay . you have to install with npm
/*
for this quest open your terminal. and write this on the current file :
npm init
npm install -g cowsay
after that create a file .js and put the code below and enjoy
*/
const cowSay = require('cowsay')
console.log(cowSay.say({text : 'hello boy' }))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment