{"_id":"dat-link-resolve","_rev":"13-d9226a3ce0d24dcb2a19878eb81397e2","name":"dat-link-resolve","description":"resolve urls, links to a dat key","dist-tags":{"latest":"2.3.1"},"versions":{"1.0.0":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"1.0.0","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/joehand/dat-link-resolve/issues"},"devDependencies":{"standard":"*","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/joehand/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/joehand/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"dependencies":{"dat-encoding":"^4.0.2","debug":"^2.6.6","nets":"^3.2.0"},"gitHead":"2b3fea568432ef4bfb271031b82f6ffcb7fca371","_id":"dat-link-resolve@1.0.0","_shasum":"c152cfe9846e3a3a725620fab92bc4269d3be25d","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"shasum":"c152cfe9846e3a3a725620fab92bc4269d3be25d","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-1.0.0.tgz","integrity":"sha512-d4QmEWb/K/f7BoqknlMYagMmI6irpUWiW5fVZXZixsSGbKL0B9XUNFrTnRKrznVw0ougI+pR7bdA6Xc2wv4wvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE52qmOtAwosgwu6q33NW6+eqOiX4uhaUEkwIwupkTlfAiEAomGi8vNinEocUVeOTVl97RygEj9zWqcQHaOi/ah63GA="}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/dat-link-resolve-1.0.0.tgz_1493423696916_0.046226415084674954"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.1.0":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"1.1.0","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/joehand/dat-link-resolve/issues"},"devDependencies":{"standard":"*","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/joehand/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/joehand/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"dependencies":{"dat-dns":"^1.1.0","dat-encoding":"^4.0.2","debug":"^2.6.6","nets":"^3.2.0","node-parse-url":"^3.0.0"},"gitHead":"3dbbcf58083dd2acb98457d5a29670fedc7e49f6","_id":"dat-link-resolve@1.1.0","_npmVersion":"5.0.3","_nodeVersion":"6.11.0","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"integrity":"sha512-EGtofkklaTbVdELEQm+2OdVr3c+WMw2gY3SzurzKrWo/7akqi739+ERYNeN3dSHuae44uWpU5H17RJDiZjKRQQ==","shasum":"20cd1d19e77068fe76e475aa993c58e7d248f4dc","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRWdV5b6bAYLfGbNhPyqFyyiABPAOKAGA9TtKma4dVUgIgcsbDcP147lAwgNWKSFfbbz/+OKBgGgHhaZC1YgH/+i4="}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dat-link-resolve-1.1.0.tgz_1497908679702_0.22685999842360616"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.1.1":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"1.1.1","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/joehand/dat-link-resolve/issues"},"devDependencies":{"standard":"*","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/joehand/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/joehand/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"dependencies":{"dat-dns":"^1.1.0","dat-encoding":"^4.0.2","debug":"^2.6.6","nets":"^3.2.0"},"gitHead":"721da8481bcb60fa097c653685489ef6b97cb0d0","_id":"dat-link-resolve@1.1.1","_npmVersion":"5.0.3","_nodeVersion":"6.11.0","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"integrity":"sha512-xwzZ9/8j+Pn8td4NKYRTafchQxJWKvr/0BLnEmCI8DwyqhCsFtwzhHBLHKXWK761+nm2hElu+xYfkA8ym9c81A==","shasum":"8c97a499c55d2b47ce971047e4f06dc123bb244c","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBcYwi7I/CkAJFS4D6SzeuqXdUYTjOOxu4CmOAQv9MI8AiEAut1p62Fjn34Zq3iIgwHpL/30NPK4V5ln2f5UoQg9+0w="}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dat-link-resolve-1.1.1.tgz_1498761288497_0.77437555603683"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.0":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"2.0.0","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/joehand/dat-link-resolve/issues"},"devDependencies":{"standard":"*","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/joehand/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/joehand/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"dependencies":{"dat-dns":"^1.1.0","dat-encoding":"^5.0.0","debug":"^2.6.6","nets":"^3.2.0"},"gitHead":"fa48f9bc6f9a5723bd03477663b403b98ff751bc","_id":"dat-link-resolve@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.3.0","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"integrity":"sha512-/uBbtZeyT4udwYKtWqk9nvUd9gOgs2XjN4B7kg2ieTHyInly8k9v6OBKUYNz9HvmZdK/tRXr/VSwg6YEO1teiA==","shasum":"0c4fa48a4fc0821ebccaba992521117b02105c5d","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXpWVFJyQqUMpQQNqWOZ3qfT2MlG1enxOgpXkOk4E70AiEA2QRPWsiXqvbVa2sQZuKlwBbgqmkBJzukNdkAZqWyYug="}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dat-link-resolve-2.0.0.tgz_1512414749416_0.5470187892206013"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.1.0":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"2.1.0","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/joehand/dat-link-resolve/issues"},"devDependencies":{"standard":"*","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/joehand/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/joehand/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"dependencies":{"dat-dns":"^1.1.0","dat-encoding":"^5.0.0","debug":"^2.6.6","nets":"^3.2.0"},"gitHead":"c3845d7bf14693df009558e8d6a0cd9267d7be07","_id":"dat-link-resolve@2.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.3.0","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"integrity":"sha512-dn9cQsftjXpMVJunoKG2g1myVpwuLkUMFkLpFUWNaIt7KNP3za+Gj1u8+v+VT4uQk2a7J7FHNW/8kP+l4bj7Gw==","shasum":"ed8b362a950d8872b45ad8aa9194eeb522028ea5","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFb9R8hASSbGcz+dLmXYpeKEcPqhWZrAsp/nEr2QPF0TAiEAnuex2Kr/p4hcOdDnmhPQ25nXeusKLMsFpvp0pU/pKpU="}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dat-link-resolve-2.1.0.tgz_1513039609204_0.13875403441488743"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.1.1":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"2.1.1","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/joehand/dat-link-resolve/issues"},"devDependencies":{"standard":"*","tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/joehand/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/joehand/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"dependencies":{"dat-dns":"^1.1.0","dat-encoding":"^5.0.0","debug":"^2.6.6","nets":"^3.2.0"},"gitHead":"5e35d375a22749f7acdb6437ae334354f628e7bf","_id":"dat-link-resolve@2.1.1","_npmVersion":"6.0.0","_nodeVersion":"8.10.0","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"integrity":"sha512-95PgxitO1DQsSsuGTcnFa0zBnQt6Z3+dHYdgDIHbm/xoAJHrV4fyUiy5+f3txdpALFyakeM2w0ZGpCq4yljI8g==","shasum":"72d2c518e188298ff5a3e8cc1ae562f8094e5d92","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-2.1.1.tgz","fileCount":6,"unpackedSize":11342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9BYpCRA9TVsSAnZWagAAa5sP/04sVWY00EfN8ivWZmyB\nbTNRFCU6MW8hpPN1Cgi3ceLSKQ8S1KLkI2XUC0wga62asn+znQcExn7aSgtv\nYeiJmtz+IFMqyt1iMgHxrPHd+rq6j6qK1XO+ahe+9G9JQDe7EpkA/F79o5W3\nJoaH6CPG5CE2KAwqD/kpqA4ylrEPG1rZvRAKpEkS2DMnEsaj82Ov8Av4sPCW\nPm376Q2nFHIxjxqDtFhXGgB7v1GA3LCNdwC2Mpfi+HcT/FP+lfRv7nU2GWz5\n2ge2c/g0GRANkfj39Xo40Yvhxnd/bWih2oHChSHTVrzChaoS5BTPED1HoqqM\nau31Q+EV/c1HX4VOp6pG4qaymvdufLQzoM5tfGkuzyalVVs/UeYIM/vg/G8I\nkzmltB0j0zwoNbBv5yuUSS3j5hHSBsAFuzBawQsO9kuoyTkNGyl7JjOiXnrF\n8AMdr0vzuS9068wgcwBYAdl2iDJssGtY2Jp008WUPilt+zN0IoXgBRWRB2BJ\n2bdIJdGojcL/k4E6Q/vCn36Xi4TRUKCOkSEOH0hvi5HQiCXbukkN/nlTwrdg\nYc941ujr9vbvjtDg2p4LN7OU5+QlQaW9/d0oYfefreKoqYfwFEvYeQ8eo5CL\neNxun6yOoxNDtuGimvXx7gRnJJHYRMqHEMB3/+16Ze/V4bqNZe7R1aUw3sUU\nXo3F\r\n=UHlR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi8c9wWeYcjoFjweaEqjEUVrpERm1nGwhSdIgFfpu1zAiEAwNcCD2CAU6Uw88MMV7MG//8TiAvrDXrWFtSKZ1gQG04="}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dat-link-resolve_2.1.1_1525945896648_0.5807707154845809"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.2.0":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"2.2.0","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/joehand/dat-link-resolve/issues"},"devDependencies":{"standard":"*","tap-spec":"^5.0.0","tape":"^4.9.1"},"homepage":"https://github.com/joehand/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/joehand/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"dependencies":{"dat-dns":"^3.0.1","dat-encoding":"^5.0.1","debug":"^3.1.0","nets":"^3.2.0"},"gitHead":"82b9b54b94ecb40e08c2e59e2c430a2a8f07df25","_id":"dat-link-resolve@2.2.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"integrity":"sha512-cu6Fwapm34myc5um6jdQBrtDkjx28oVkOVHbaV4YNLdxrRqUm+FlWuIqFk7zaCZDoZg5TMlCG1SF0j3AFbiOYA==","shasum":"9517e3a9bbd729e51ff8b6ab711fce51f50a64de","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-2.2.0.tgz","fileCount":6,"unpackedSize":11283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLRWhCRA9TVsSAnZWagAAXt0P/1WXvilIkHig6cJ998Hw\nKKuUhNvprW/bedoDaN41y/fPJ1xNGGi0w3gbRZGTXesdBU4GNLueoDIV/tKo\n76izWWckzZfzJ31yOsaSmN+hsaOvkDe2kUMHMooxqs6gwP7uUEc8mvKg6zZU\nLwC3k+iHMid4FZqxD3d8sR6wnY/8U2UTu2lTD4tuKB3Q6ckI0EL0hj0n4A+P\nwTfzcATjW2rbHOFt5od/KnEmjYGBb+tX/5LYAHNPGUjFROxTYecRjRLit2F0\nNySHwY90dBt6hrF4uW7TnQ8JWogqcgXMJGaovr75MisXBlfv9NY2Gk276ci2\n5+llDH64cEK9gLB/BXpSMQafWEwqeDapvUHSW8NInNpCZOxVN8ncOWKdJ4gB\nSpl65r3R3TGwr91nIbIdCWDAUqLUeb93rquvEXMV8gfeCAQyvbY/55pbsdwB\nStZ4j8D7FqilHiO2bS+Yp8EfiECvLTPN5+XtOETftvYs5YgD3KUpuFL0bAZy\nFKhG207M8uTykYS0U+GIFx83LX2Gji/V4K1BvkIc7WJLSoE+Mj+h82hXxKOp\npiteK6QdS1PXg1v7c6kT62uHARm75ZvO5C5xvDQ5Ak/gSzkvzkijI/SoM9xv\nKBgZVJGoeFGf6ZmzL+OSvkEXscs1iLrCS1tivtmANglxNqkwRKz4ccDpF0g4\ntNO1\r\n=3pO+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5CgsjEm2lliDyK8Z7LMrFNeIpZHI7iFjgiOM8//Y30AiEA9Ulmd+0HoihgV981VCvbDfl2wZ48LP6TbClFQAMrOlE="}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dat-link-resolve_2.2.0_1529681313597_0.99738903145496"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.3.0":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"2.3.0","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/datproject/dat-link-resolve/issues"},"devDependencies":{"standard":"^12.0.1","tape":"^4.9.2"},"homepage":"https://github.com/datproject/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/datproject/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js"},"dependencies":{"dat-dns":"^3.0.2","dat-encoding":"^5.0.1","debug":"^4.1.1","simple-get":"^3.0.3"},"gitHead":"99077eb2c4190dbb31ee672f8f56a2acbeb71fa6","_id":"dat-link-resolve@2.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.2","_npmUser":{"name":"jhand","email":"joe@hand.email"},"dist":{"integrity":"sha512-k1wfcpUB65NQiSVg7vAyHhQlNawAwWvUmDghfCRDOEm68lvRZKyO+bf4mANRJfOV4Ah6GzGSKSKBKSHhYOyBiQ==","shasum":"59cce66f4465a8c2eb3865a14411c6966bb5a61c","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-2.3.0.tgz","fileCount":6,"unpackedSize":11361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcMpeOCRA9TVsSAnZWagAAnlUP/1yFxx/fgcOZAF4qDonJ\nugqC+hHDjkR8sXK9FuOpue9Z2yyoYw8mKSmofoEIm6DVJ6/eNJhbMSaslRTj\nzchB5BXxrzLkrDwZFCZLvfj+5cLNYsG6k100JGhiJ7akqO1ARDCnRB1zn50V\nM4aoWzhOqkS0oK6cDDepXZ7HJdhyImqwtBRIfTP2juSOhIo3u+2umNFiQ+32\niakdATjE3F/Z95vdHQw2oxoZbGl9d8l5Y1R+p2BKLRiq9bCwtXC/uyWMG8ik\nZxh6fdYCwt+rzrlwtS9hNjprfSorkjurGk5bJhp0cjLEyoO7IyehT+crZ4MT\nyUfmmP1me5nCAlkaPJ5nmZTKEBrxAOkaUwhSrbqzTdzKwOLn1GbwZeB5fPK7\n81gFXuGcRVf6kuxei52M7VBpHch32agI8uy0tQgbgH1jeysj2wvr7M8epvjR\n3RWztcpCuDc6mUrxo70eaoWEUPSHoJeQZl1fwvKnBHGj1yGWBolSHOjP1LJP\n1BWjb+qGhqS9C542DJovmETMFQncmYht+CMkBjSYoKLrxRHUdfLgtop4TyHG\nDL3jUMOisBN3LKGHqUV0QwhIlEZ0Db4mhq9GvGB5QkTbytOvUnQ+luyK7u50\no1jo8+GCwlgx5Gm5DV2uSpn0E5Wt/94EnJPTS5uH8930FTAhHer4TpM79uOJ\n8cPi\r\n=j+lb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSNXCc5bbYJLwNIWaWINX3iPOkOGMpO4ZWx3DLvsXEoAIhANI4fRv4ZyK4jHsAg7qnJY5jHFnwlnSZKSM5UoNo31NP"}]},"maintainers":[{"name":"jhand","email":"joe@hand.email"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dat-link-resolve_2.3.0_1546819470263_0.7571977458580659"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.3.1":{"name":"dat-link-resolve","description":"resolve urls, links to a dat key","version":"2.3.1","author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/datproject/dat-link-resolve/issues"},"devDependencies":{"standard":"^12.0.1","tape":"^4.9.2"},"homepage":"https://github.com/datproject/dat-link-resolve","keywords":["dat"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/datproject/dat-link-resolve.git"},"scripts":{"test":"standard && tape test/*.js"},"dependencies":{"dat-dns":"^3.0.2","dat-encoding":"^5.0.1","debug":"^4.1.1","simple-get":"^3.0.3"},"gitHead":"b356332e6e1477717cc01a524a4b0e73107715ea","_id":"dat-link-resolve@2.3.1","_nodeVersion":"16.1.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-56Ri+n6C3dmYQPf+jptsf/MYjDsLIwEnXhGCO7OBmqktCqpMuUuJuKFxavAVAVLglEAIcn3NXrh6Y/5o+3VRGA==","shasum":"d03a1ab31c7c480b7fca74b7392e971f4ada4297","tarball":"https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-2.3.1.tgz","fileCount":6,"unpackedSize":11638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1xxFCRA9TVsSAnZWagAAgpYP/3JEY/y+Jlu6sWNdl97N\nIAyXftMREvoWaPAEj4DLILQMmZU/nKWnZTX1y/lLbWbs4bckubXK0UfKWDE5\nYyeaP4EpDaPsAvT27G7DH6XmMX8YvFAEqRNBobEMyCGpbrEzXZWwpNPcjh1q\nZBd0T8DbXy1eYHDNbYLrIKIB6KJKHatrJZyorzCpuLJurAlFmIonxMmxFdHz\nDqVgJcebG3wgXn6xLskKi8MWvnmohZ1NrSlnlBbXH6m/WOWurpNYODqLqUCM\nQgoouxEolPYEqTZfbzG2z80GhTB+hNg6/dkrHxTL9R4MCCISoCaS41ISWwkr\nwdRl8QYcUYu2tyD1/Kj4yEs7y3kTmdf9BtpZr8hKTnU6FLB24Li1IWWfZl6Z\nKcvyPzCT+la8f6KBWVRzfxonOFSy/PtjhomNy066FU2yWOoCbtAnssfKdx7C\n4eS8RH/PrAMbsO3qsvnQ/ZDSMn2KDHEhi1fUCDVwOG4feiQ31xfgdqX1WQUa\n1Ak4uxAlOkHrtnTlLixQnZyEHj/nQo2sTLdKqTUUr38pzsCT+ECjXuDaG+s/\nuzfAWZF3i3PVfFVho0Qv9bl6FOeAzIVAKDmvHktIpTKJIX5VUZydFXMPN7E7\ncTJTn/KYlb48iwBZP3ccOzf5KLggFCtf4NVS7P5tohi2tEQJih7gOos+VvKW\nEfEp\r\n=zSzs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUtpnoKupOken/BaWCSUbU7H8NoqWRHtQsjubgIFlsjAIgdDpESjGKtnGcQsvtzBoek54gDmg9FJtw9Lczd4tOak0="}]},"_npmUser":{"name":"ninabreznik","email":"ninabreznik@gmail.com"},"directories":{},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},{"name":"the-real-dk","email":"diego@geutstudio.com"},{"name":"pfrazee","email":"pfrazee@gmail.com"},{"name":"frando","email":"dev@unbiskant.org"},{"name":"cblgh","email":"angellus.falsus@gmail.com"},{"name":"ninabreznik","email":"ninabreznik@gmail.com"},{"name":"rangermauve","email":"rangermauve@hotmail.com"},{"name":"serapath","email":"dev@serapath.de"},{"name":"zootella","email":"zootella@zootella.com"},{"name":"jhand","email":"joe@hand.email"},{"name":"juliangruber","email":"julian@juliangruber.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dat-link-resolve_2.3.1_1641487429660_0.09716367692343697"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"readme":"\n[![deprecated](http://badges.github.io/stability-badges/dist/deprecated.svg)](https://dat-ecosystem.org/) \n\nMore info on active projects and modules at [dat-ecosystem.org](https://dat-ecosystem.org/) <img src=\"https://i.imgur.com/qZWlO1y.jpg\" width=\"30\" height=\"30\" /> \n\n---\n\n# dat-link-resolve\n\nresolve urls, links to a dat key using common methods\n\n[![npm][npm-image]][npm-url]\n[![travis][travis-image]][travis-url]\n[![standard][standard-image]][standard-url]\n\n### Supports\n\n* Common dat key representations (`dat://`, etc.)\n* URLs with keys in them (`datproject.org/6161616161616161616161616161616161616161616161616161616161616161`)\n* `hyperdrive-key` or `dat-key` headers\n* Url to JSON http request that returns `{key: <dat-key>}`\n* Dat-DNS resolution (via [dat-dns](https://github.com/datprotocol/dat-dns))\n\n## Install\n\n```\nnpm install dat-link-resolve\n```\n\n## Usage\n\n```js\nvar datResolve = require('dat-link-resolve')\n\ndatResolve(link, function (err, key) {\n  console.log('found key', key)\n})\n```\n\n## API\n\n### `datResolve(link, callback(err, key))`\n\nLink can be string or buffer.\n\nResolution order:\n\n1. Validate buffers or any strings with 64 character hashes in them via [dat-encoding](https://github.com/juliangruber/dat-encoding)\n2. Check headers in http request\n3. Check JSON request response for `key`\n4. Dat-DNS resolution via [dat-dns](https://github.com/datprotocol/dat-dns)\n\n## Refering to dats\nTrying to tighten up a bit dat-link-resolve (and its dependencies dat-dns and dat-decode). I am noticing a few inconsistencies as I'm writing dat-shell.\n\nIdeally, I'd like to launch dat-shell like this:\n```sh\n$ dat-shell dat://40a7f6b6147ae695bcbcff432f684c7bb5291ea339c28c1755896cdeb80bd2f9+5/path4\n```\n\nand have it open the dat at version 5 and change directory to /path4.\n\nCurrently ```dat-shell google-fonts-kewitz.hashbase.io/fonts/``` [fails somewhere in dat-link-resolve](https://github.com/millette/dat-shell/issues/5).\n\n### Examples\nNote that dat-link-resolve also supports other methods, such as detection of dat keys in paths and http headers.\n\n#### Simplest\n* Plain: 40a7f6b6147ae695bcbcff432f684c7bb5291ea339c28c1755896cdeb80bd2f9\n* DNS: pfrazee.hashbase.io\n\n#### With version\n* Plain: 40a7f6b6147ae695bcbcff432f684c7bb5291ea339c28c1755896cdeb80bd2f9+5\n* DNS: pfrazee.hashbase.io+5\n\n#### With scheme\n* https: https://40a7f6b6147ae695bcbcff432f684c7bb5291ea339c28c1755896cdeb80bd2f9/\n* dat: dat://pfrazee.hashbase.io\n\n#### With path\n* https: 40a7f6b6147ae695bcbcff432f684c7bb5291ea339c28c1755896cdeb80bd2f9/path1\n* dat: pfrazee.hashbase.io/path2\n\n#### Combinations\n* 40a7f6b6147ae695bcbcff432f684c7bb5291ea339c28c1755896cdeb80bd2f9+5/path3\n* dat://40a7f6b6147ae695bcbcff432f684c7bb5291ea339c28c1755896cdeb80bd2f9+5/path4\n* https://40a7f6b6147ae695bcbcff432f684c7bb5291ea339c28c1755896cdeb80bd2f9/path5 [(^1)][]\n* https://pfrazee.hashbase.io+5/path6 [(^2)][]\n\n### Notes\n1. browsers expect http and https schemes with traditional hostname, not a dat key\n2. browsers expect http and https schemes with traditional hostname, no +5 (version) support\n\n## Contributing\n\nContributions welcome! Please read the [contributing guidelines](CONTRIBUTING.md) first.\n\n## License\n\n[MIT](LICENSE.md)\n\n[npm-image]: https://img.shields.io/npm/v/dat-link-resolve.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/dat-link-resolve\n[travis-image]: https://img.shields.io/travis/joehand/dat-link-resolve.svg?style=flat-square\n[travis-url]: https://travis-ci.org/joehand/dat-link-resolve\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[standard-url]: http://npm.im/standard\n[(^1)]: <#notes>\n[(^2)]: <#notes>\n","maintainers":[{"name":"cblgh","email":"angellus.falsus@gmail.com"},{"name":"frando","email":"dev@unbiskant.org"},{"name":"jhand","email":"joe@hand.email"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},{"name":"ninabreznik","email":"ninabreznik@gmail.com"},{"name":"pfrazee","email":"pfrazee@gmail.com"},{"name":"rangermauve","email":"rangermauve@hotmail.com"},{"name":"serapath","email":"dev@serapath.de"},{"name":"the-real-dk","email":"diego@geutstudio.com"},{"name":"zootella","email":"zootella@zootella.com"}],"time":{"modified":"2022-06-14T18:49:59.415Z","created":"2017-04-28T23:54:58.715Z","1.0.0":"2017-04-28T23:54:58.715Z","1.1.0":"2017-06-19T21:44:39.778Z","1.1.1":"2017-06-29T18:34:48.578Z","2.0.0":"2017-12-04T19:12:29.492Z","2.1.0":"2017-12-12T00:46:49.286Z","2.1.1":"2018-05-10T09:51:36.777Z","2.2.0":"2018-06-22T15:28:33.691Z","2.3.0":"2019-01-07T00:04:30.399Z","2.3.1":"2022-01-06T16:43:49.837Z"},"homepage":"https://github.com/datproject/dat-link-resolve","keywords":["dat"],"repository":{"type":"git","url":"git+https://github.com/datproject/dat-link-resolve.git"},"author":{"name":"Joe Hand","email":"joe@hand.email"},"bugs":{"url":"https://github.com/datproject/dat-link-resolve/issues"},"license":"MIT","readmeFilename":"README.md"}