Fetches are now done without even a momentary synchronous bit of IO. npm may be used programmatically.
I heard you like error handling, so I put an error in your error handler so you can debug while you debug!
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.