Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Last active June 24, 2019 00:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save miguelmota/ef16abf1eb82407422e66ab75ada9667 to your computer and use it in GitHub Desktop.
Node.js bin env header (NPM module as executable bin file)
#!/usr/bin/env node
console.log('my program')
{
"bin": {
"my_program": "bin/my_program"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment