Created
November 29, 2015 00:32
-
-
Save jorgebg/09c76a14be571b1cfb47 to your computer and use it in GitHub Desktop.
node.js process.env flag
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
| var DEBUG = (/^1|true$/i).test(process.env.DEBUG); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment