NODE_ENV is an environment variable made popular by the Express.js framework. It is specifically used to state whethere a particular environment is production or development.

var environment = process.env.NODE_ENV

References

  • http://stackoverflow.com/questions/16978256/what-is-node-env-in-express