Building more upon the patch from Charlie Robbins (d7c6982), these changes remove any way of npm actually triggering a program exit than by being called by the cli. - Move the "exit" option off the opts object and onto a proper config setting. Why not? - Use \r\n for most output, so that it'll look correct in the repl, or other places where \n may not be enough. - Add a comment about loading npm programmatically.
… but overall better long-term for consistency.
… trace isn't helpful, and the message is very clear.
… are supported.