Check if a URI is valid to be shortened.
$ npm install fink-is-uri --save
If you want to use in the browser (powered by Browserify):
$ bower install fink-is-uri --save
and later link in your HTML:
<script src="bower_components/fink-is-uri/dist/fink-is-uri.js"></script>
MIT © fink