Skip to content

Instantly share code, notes, and snippets.

@bscott
Created October 3, 2013 04:12
Show Gist options
  • Select an option

  • Save bscott/6804853 to your computer and use it in GitHub Desktop.

Select an option

Save bscott/6804853 to your computer and use it in GitHub Desktop.
Check environment variables before node.js app starts
var sanity = require('sanity');
sanity.check(['USER', 'MACHTYPE', 'INVISIBLE_FRIENDS', 'AREA_51']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment