checknode

check if a node tarball exists on the official website

#checknode

Check to see if a .tar.gz of the node source you want exists on the official website.

Supports looking for versions 0.5.1 and up.

npm install checknode

var checknode = require('checknode')

checknode('0.8.4', function (errres) {
  if (!err) {
    res === 200 && console.log('version exists')
    res === 404 && console.log('version does not exist')
  }
})

checknode uses isaacs' node-semver module to clean version input, so you can get a little crazy with version formatting if you really want.

For example: v0.8.10 or =v.8.10 will both work because isaacs' module is really good like that.

npm test

###License MIT