isaacs/npm — pull request #2113 by Benvie (2012-02-02 02:48:10+00:00)
Title: Change npm.bat to handle a primitive command loop on Windows

Since the command line is pretty alien to most users on Windows, this helps a little in making it a little more accessible. Using this it will stay open when run through the Windows shell and act as kind of like a real npm "program". Could also be accomplished using Node's repl but this was simple and quick to do and doesn't impact other OS's should it not be useful elsewhere.