Closed zrrrzzt closed 9 years ago
Use the valid-url module
var validUrl = require('valid-url') if (opts.uri && !validUrl.isWebUri(opts.uri)) { return callback(new Error('You supplied an invalid URL.'), null); }
Closed by PR #19
Use the valid-url module