Package name, editorconfig, error checking, fix the unit test, prevent some crashes

this is a snapshot of where I'm at-- should be at parity w/ where it was.  Trying to get this to work w/ the public npm registry.  If anyone else wants to jump in and help, holla at me. 

My next move is to try and make `.find()` work with registry.npmjs.org -- unfortunately, the registry doesn't seem to work in quite the same way as you might expect.  Instead of: `http://registry.npmjs.org/_all_docs`, it's actually `http://registry.npmjs.org/~/all`.  Hopefully I can figure that out in a way that can be exposed generically as a matter of configuration here, but if what I'm talking about sticks out as wrong, or I sound confused, please do let me know!  (I probably am :) )