{"_id":"unshortener","_rev":"25-3deeabfeda954305def6cbde8968548c","name":"unshortener","description":"A simple library that can unshorten any short url","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.3":{"name":"unshortener","description":"A simple url unshortener for expanding short links.","version":"0.0.3","homepage":"https://github.com/Swizec/node-unshortener","repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"main":"./index.js","directories":{"lib":"."},"engines":{"node":"0.4.7"},"files":[""],"scripts":{"test":"expresso"},"dependencies":{"bitly":"1.0.1"},"_id":"unshortener@0.0.3","_engineSupported":true,"_npmVersion":"0.3.18","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"9c834e64f351027991e738415a21b04678e53b65","tarball":"https://registry.npmjs.org/unshortener/-/unshortener-0.0.3.tgz","integrity":"sha512-OFJtC1G7LdTfaDESby/1J4a7i+eznvTzGr54nnupHHSzi1SzihnCO739qe9pMY1thQEExW2AL2RFyuMWjkpyeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1mIjjvT96lmP8tyO0eNR9M7Mmbgj4o0SlNOEUjF2eYAiAb+u9SGwl5G1yOm4JokRXyfMJU1DpShuRcrYIlzmHjaw=="}]}},"0.0.4":{"name":"unshortener","description":"A simple url unshortener for expanding short links.","version":"0.0.4","homepage":"https://github.com/Swizec/node-unshortener","repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"main":"./index.js","directories":{"lib":"."},"engines":{"node":"0.4 || 0.5"},"files":[""],"scripts":{"test":"expresso"},"dependencies":{"bitly":"1.0.1"},"_id":"unshortener@0.0.4","_engineSupported":true,"_npmVersion":"0.3.18","_nodeVersion":"v0.4.7","dist":{"shasum":"f97714c126e52481080062f848a4ca0c57f0f338","tarball":"https://registry.npmjs.org/unshortener/-/unshortener-0.0.4.tgz","integrity":"sha512-NCCE+fjESyyZqN1w882Fi8LeQEzaG5XX70DiW7vM0EzAX3JNyZX8MYgvdsyeZ7NUV0qypDr5/ZMYLx98sQ5Wcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6sw4nlLApdSn9DZLtdU1t9Leu+W+PCY/aO53Whf/nLAIhAM5ztyV2PIsHJTdL61IUGKe+klEFPnoAffPQaOtVrRS8"}]}},"0.0.5":{"name":"unshortener","description":"A simple url unshortener for expanding short links.","version":"0.0.5","homepage":"https://github.com/Swizec/node-unshortener","repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"main":"./index.js","directories":{"lib":"."},"engines":{"node":"0.4 || 0.5"},"files":[""],"scripts":{"test":"expresso"},"dependencies":{"bitly":"1.0.1"},"bundleDependencies":["bitly"],"_id":"unshortener@0.0.5","_engineSupported":true,"_npmVersion":"0.3.18","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"89ca5a04a0609c6537686bc57b3450d01c885eb6","tarball":"https://registry.npmjs.org/unshortener/-/unshortener-0.0.5.tgz","integrity":"sha512-2k4NMOitbbdOwrjVCgSankSKzV+RkqafkO7AWxDckkP3o6nXw3yaHoY/YnVkUSa99IUe7qjgE4InWgTxnmxfIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAzCFgZO7Fx5b0jVvCgoo+jvOrlCBaR+v/JtKjMaEF0qAiEA9iPySQ4yHJ9x2bOCj2/SWb/e3Z8OSAVloPsN3vcEwiI="}]}},"0.0.6":{"name":"unshortener","description":"A simple url unshortener for expanding short links.","version":"0.0.6","homepage":"https://github.com/Swizec/node-unshortener","repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"main":"./index.js","directories":{"lib":"."},"engines":{"node":"0.4 || 0.5"},"files":[""],"scripts":{"test":"expresso"},"dependencies":{"bitly":"1.0.1"},"bundleDependencies":["bitly"],"_id":"unshortener@0.0.6","_engineSupported":true,"_npmVersion":"0.3.18","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"62fe121fbae0e8fb6380ad35097ea6602f11f96e","tarball":"https://registry.npmjs.org/unshortener/-/unshortener-0.0.6.tgz","integrity":"sha512-khC3t3ERDsfS9bkdYlrYRxMmtfydr37bza9gl+2Q00n685fzkt6i5+S6O4qDPMA9liK1G0pxXxLFu9fP6Ssrgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEU9XZaxbdguntN2rbn5dueTrthqpOjNnI6KAEsJooAQIgEknkE0bntDQj7oLwdQdLwnfOKWoplQZy2xrEriItwe8="}]}},"0.0.8":{"name":"unshortener","description":"A simple url unshortener for expanding short links.","version":"0.0.8","homepage":"https://github.com/Swizec/node-unshortener","repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"main":"./index.js","directories":{"lib":"."},"engines":{"node":"0.4 || 0.5"},"files":[""],"scripts":{"test":"expresso"},"dependencies":{"bitly":"1.0.1"},"bundleDependencies":["bitly"],"_id":"unshortener@0.0.8","_engineSupported":true,"_npmVersion":"0.3.18","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"7d39a0472c97997464421bd92e8441f48c8100f1","tarball":"https://registry.npmjs.org/unshortener/-/unshortener-0.0.8.tgz","integrity":"sha512-gCyfTuyMBqZl7pQSG+5kUgjDkTPNmwgTic/rsXQWDRF4WqGmPQ+DAfWKUe4sqF5GouxGjMHJlLbCwWot0jhpBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBhy+8ZEUKnL6bBIp3VZT5vugjx/AIz5ysm10GcBKmeJAiEAlOAJNhOxhQp45UeIvbtOThYJQh2+l13wqCJ7Fa1usfg="}]}},"0.0.9":{"name":"unshortener","description":"A simple url unshortener for expanding short links.","version":"0.0.9","homepage":"https://github.com/Swizec/node-unshortener","repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"main":"./index.js","directories":{"lib":"."},"engines":{"node":"0.4 || 0.5 || 0.6"},"files":[""],"scripts":{"test":"expresso"},"dependencies":{"bitly":"1.1.2"},"bundleDependencies":["bitly"],"devDependencies":{},"_npmUser":{"name":"swizec","email":"swizec@swizec.com"},"_id":"unshortener@0.0.9","_engineSupported":true,"_npmVersion":"1.0.94","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"4839ec5e14a56976cbb514a24af2ba5c307ce845","tarball":"https://registry.npmjs.org/unshortener/-/unshortener-0.0.9.tgz","integrity":"sha512-5EI9F4AvcxZXcOP2TZDY150qNDzNWBTP20YXN+HKVKMVvFabfl1B+oxXxLOGWUy7K+WqhBCxUYWR0O/MGgWybg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGi1SqJ1uTjzRuYfcxpz+nl6h+pC4gaci/OrqHBhjcDmAiEA+cCi3mColdg1AXtDDla+twIjOGSt5M/jw5enrJg/Acs="}]},"maintainers":[{"name":"swizec","email":"swizec@swizec.com"}]},"0.0.10":{"name":"unshortener","description":"A simple library that can unshorten any short url","version":"0.0.10","homepage":"https://github.com/Swizec/node-unshortener","repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"main":"./index.js","directories":{"lib":"."},"engines":{"node":"0.4 || 0.5 || 0.6"},"files":[""],"scripts":{"test":"expresso"},"dependencies":{"bitly":"1.1.2","memcached":"0.0.10","request":"2.9.202","MD5":"1.0.0","charenc":">=0.0.1","crypt":">=0.0.1"},"bundleDependencies":["bitly","memcached","request","MD5"],"devDependencies":{},"readme":"\n# node-unshortener 0.0.9\n\nA simple library that can unshorten any short url.\n\n## Install\n\n     npm install unshortener\n\nor\n\n     git clone https://github.com/Swizec/node-unshortener.git\n     cd node-unshortener\n     npm link\n\n## Usage\n\n``` javascript\n     // expand an URL\n     var unshortener = require('unshortener');\n\n     // you can pass in a url object or string\n     unshortener.expand('http://t.co/rWP6BP3',\n                        function (url) {\n                             // url is a url object\n                             console.log(url);\n                        });\n```\n\nIf you have a handy bitly account you should also pass in an options\nobject to enable the unshortener to use the bitly API directly:\n\n``` javascript\n     // expand an URL\n     var unshortener = require('unshortener');\n\n     // you can pass in a url object or string\n     unshortener.expand('http://t.co/rWP6BP3',\n                        {bitly: {username: '<YOUR BITLY USERNAME>',\n                                 apikey: '<YOUR BITLY API KEY>'}},\n                        function (url) {\n                             // url is a url object\n                             console.log(url);\n                        });\n```\n\nWhen an error occurs the callback is passed the original url and an\nerror flag.\n\n## How it works\n\nnode-unshortener aims to be able to unshorten any link possible, so it\ntries to behave as a browser and simply follows all the\nredirects. However, to be nice, when at all possible, it tries to use\nthe url shortener's official API.\n\nThat said, please feel free to suggest any unshortening services I may\nhave missed.\n\nServices/domains directly supported so far:\n\n  - bit.ly\n  - j.mp\n  - is.gd\n  - goo.gl\n  - ericri.es\n  - jc.is\n  - nyti.ms\n  - linkd.in\n  - win.gs\n  - budurl.com\n  - cli.gs\n  - snipurl.com\n  - snurl.com\n  - cl.lk\n  - snipr.com\n  - sn.im\n  - dai.ly\n  - imgry.net\n  - mln.im\n  - theatln.tc\n  - rww.to\n\n## License\n\nCopyright (C) Swizec Teller <swizec@swizec.com>\n\nLicensed under the [GPL version 3](http://www.gnu.org/licenses) or\nlater for non-commercial use.\n\nFor commercial use please consider [purchasing a commercial\nlicense](http://www.binpress.com/app/nodeunshortener/414?ad=1031) to\nsupport my work.\n","optionalDependencies":{},"_npmUser":{"name":"swizec","email":"swizec@swizec.com"},"_id":"unshortener@0.0.10","_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.16","_defaultsLoaded":true,"dist":{"shasum":"aaeeb1b994ee9bb7317e51e9bd7004c6a074b9aa","tarball":"https://registry.npmjs.org/unshortener/-/unshortener-0.0.10.tgz","integrity":"sha512-DExD5l40hiP6ud9d5ygOuBDoHdJesJlLzQHAeN0LDeKoGvd37JBCbI9ffdBQNEzd9u6RZc3QFZHaayNzseOVYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFx9Z+43AKk+IQP6/W5ecm2FXoW4rpNYacj+1FUjJhM1AiB/dAwCnkQKmvhvjD36ADWsYR2oGlxXXYHRmEJ1CCbkvQ=="}]},"maintainers":[{"name":"swizec","email":"swizec@swizec.com"}]},"0.1.0":{"name":"unshortener","description":"A simple library that can unshorten any short url","version":"0.1.0","homepage":"https://github.com/Swizec/node-unshortener","repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"main":"./index.js","directories":{"lib":"."},"engines":{"node":"0.4 || 0.5 || 0.6 || 0.8"},"files":[""],"scripts":{"test":"expresso"},"dependencies":{"memcached":"0.0.10","request":">=2.9.202","node_hash":">=0.2.0","charenc":">=0.0.1","crypt":">=0.0.1"},"bundleDependencies":["memcached","request","node_hash"],"devDependencies":{},"readme":"\n# node-unshortener 0.1.0\n\nA simple library that can unshorten any short url.\n\n## Install\n\n     npm install unshortener\n\nor\n\n     git clone https://github.com/Swizec/node-unshortener.git\n     cd node-unshortener\n     npm link\n\n## Usage\n\n``` javascript\n     // expand an URL\n     var unshortener = require('unshortener');\n\n     // you can pass in a url object or string\n     unshortener.expand('http://t.co/rWP6BP3',\n                        function (err, url) {\n                             // url is a url object\n                             console.log(url);\n                        });\n```\n\nIf you have a handy bitly account you should also pass in an options\nobject to enable the unshortener to use the bitly API directly:\n\n``` javascript\n     // expand an URL\n     var unshortener = require('unshortener');\n\n     // you can pass in a url object or string\n     unshortener.expand('http://t.co/rWP6BP3',\n                        {bitly: {username: '<YOUR BITLY USERNAME>',\n                                 apikey: '<YOUR BITLY API KEY>'}},\n                        function (err, url) {\n                             // url is a url object\n                             console.log(url);\n                        });\n```\n\nWhen an error occurs the callback is passed the original url and an\nerror flag.\n\n## How it works\n\nnode-unshortener aims to be able to unshorten any link possible, so it\ntries to behave as a browser and simply follows all the\nredirects. However, to be nice, when at all possible, it tries to use\nthe url shortener's official API.\n\nThat said, please feel free to suggest any unshortening services I may\nhave missed.\n\nServices/domains directly supported so far:\n\n  - bit.ly\n  - j.mp\n  - is.gd\n  - goo.gl\n  - ericri.es\n  - jc.is\n  - nyti.ms\n  - linkd.in\n  - win.gs\n  - budurl.com\n  - snipurl.com\n  - snurl.com\n  - cl.lk\n  - snipr.com\n  - sn.im\n  - dai.ly\n  - imgry.net\n  - mln.im\n  - theatln.tc\n  - rww.to\n\n## License\n\nCopyright (C) Swizec Teller <swizec@swizec.com>\n\nLicensed under the [GPL version 3](http://www.gnu.org/licenses) or\nlater for non-commercial use.\n","optionalDependencies":{},"_id":"unshortener@0.1.0","_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.16","_defaultsLoaded":true,"dist":{"shasum":"923929ac5b75648597a2ceb154da7213bcc10ffa","tarball":"https://registry.npmjs.org/unshortener/-/unshortener-0.1.0.tgz","integrity":"sha512-5zlUzBCjEixMEWAuss3KywIgQl+ofPGo/KagOIoYdTtTxWtFQe0LbrILx6WSqLRrP/m+4x6V5uh23w2Bv2apqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtm1eRTNpy8xg8pjBiXA0/3i4NVZz4HgfYtEBQIe7NFgIgaNL1Z2svwP8e8iztIqvcKCvch/8DGUUvhPSOiCZPbfc="}]},"_from":"unshortener@>=0.0.10","_npmUser":{"name":"swizec","email":"swizec@swizec.com"},"maintainers":[{"name":"swizec","email":"swizec@swizec.com"}]}},"maintainers":[{"name":"swizec","email":"swizec@swizec.com"}],"time":{"modified":"2022-06-28T05:19:06.115Z","created":"2011-05-21T11:33:45.967Z","0.0.3":"2011-05-21T11:33:46.364Z","0.0.4":"2011-05-22T07:10:17.352Z","0.0.5":"2011-05-22T23:43:35.601Z","0.0.6":"2011-05-29T13:43:02.414Z","0.0.8":"2011-06-18T15:31:05.900Z","0.0.9":"2011-11-23T21:35:10.793Z","0.0.10":"2012-06-20T23:12:27.012Z","0.1.0":"2012-09-14T21:36:13.686Z"},"author":{"name":"Swizec","email":"swizec@swizec.com","url":"http://swizec.com"},"repository":{"type":"git","url":"git://github.com/Swizec/node-unshortener.git"},"users":{"zeke":true,"felegz":true}}