Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save visualjeff/c7ad3f51845c79476fc7b6da5d4dc722 to your computer and use it in GitHub Desktop.
Save visualjeff/c7ad3f51845c79476fc7b6da5d4dc722 to your computer and use it in GitHub Desktop.
Node.js best practices (to build over time)
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