Created
July 30, 2016 22:25
-
-
Save visualjeff/c7ad3f51845c79476fc7b6da5d4dc722 to your computer and use it in GitHub Desktop.
Node.js best practices (to build over time)
This file contains hidden or 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
Node best practices: | |
#!/usr/bin/env node | |
'use strict'; | |
// Provide a title to the process in `ps` | |
process.title = 'description of what is actually running'; | |
Use "nopt" package for option parsing from command line input. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment