Added a little bit more error checking and incremented version for npm publishing

I added a few checks and incremented version so it can be published with npm (the current commit is not yet on npm). Without these checks I constantly get errors for a few feeds.