Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tgmarinho
Last active March 26, 2021 13:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tgmarinho/cbf45688de3c7a721785ccb4efbb10ca to your computer and use it in GitHub Desktop.
Save tgmarinho/cbf45688de3c7a721785ccb4efbb10ca to your computer and use it in GitHub Desktop.

executar vários scripts

#!/usr/bin/env node
const cowsay = require("cowsay");
console.log(cowsay.say({
text : "Hello Rocketseat!!!",
e : "OO",
T : "U "
}));
console.log('Eu sou um script que está no gist e sendo executado com npx')
{
"name":"blog-rocketseat",
"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