allow for require('process'); #4487

defunctzombie opened this Issue Dec 29, 2012 · 1 comment


None yet

2 participants


Introducing new globals into an existing language is frowned upon. Unfortunately this happend in the early days with process and buffer. Since then, I believe it has become encouraged practice to require('buffer') versus relying on the global.

I would like to suggest a similar move for process. Add the ability to require('process'); versus relying on a global. While a trivial change for node.js, it does mean that our js code becomes more free of global litter.

No more new globals! \o/

Node.js Foundation member

Sorry, but no. See #4493 for the motivation.

@bnoordhuis bnoordhuis closed this Dec 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment