Fixed the python 3 urlopen problem. registry.npmjs.org is actually a CouchDB REST interface. As such its http headers are a bit different, than expected by urlopen, but FancyURLopener().open has no problem dealing with it.
Added batch install capability. So for me a standard new install looks like this:
python ryppi.py install express socket.io mongolian underscore
Also, I ask, is an ls and rm option really that necessary? One just looks in the node_modules directory, and there is ls for you, and deletes a dir from there, and thats rm. I see no point in writing options and functions for this.
Fixed the python 3 urlopen problem. registry.npmjs.org is actually a CouchDB REST interface. As such its http headers are a bit different, than expected by urlopen, but FancyURLopener().open has no problem dealing with it.
Added batch install capability. So for me a standard new install looks like this: python ryppi.py install express socket.io mongolian underscore
Also, I ask, is an ls and rm option really that necessary? One just looks in the node_modules directory, and there is ls for you, and deletes a dir from there, and thats rm. I see no point in writing options and functions for this.