A simple npm package, writes hello to the console.
Last active
May 12, 2020 08:20
-
-
Save dpkg/751f4415e8e27c6bd8e55e5e68a55737 to your computer and use it in GitHub Desktop.
simple-npm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const name = $NAME || 'world'; | |
console.log(''); | |
console.log('-------------'); | |
console.log(`Hello, ${name}!`); | |
console.log('-------------'); | |
console.log(''); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "simple-npm-hello-gist", | |
"version": "0.0.1", | |
"bin": "./index.js" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment