{"_id":"read-torrent","_rev":"31-5e25d1f116a7c1c5199f86182c37ac96","name":"read-torrent","description":"Read and parse a torrent from a resource.","dist-tags":{"latest":"1.3.1"},"versions":{"0.0.1":{"name":"read-torrent","version":"0.0.1","description":"read and parse a torrent from a resource","dependencies":{"bncode":"~0.2.3","request":"~2.16.2"},"_id":"read-torrent@0.0.1","dist":{"shasum":"3115e8f4694fea339762b4240f6187feb3bcc7ce","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-0.0.1.tgz","integrity":"sha512-s/cZbeMD4gEUCkrQiraU1EhUGBW7Ppt6rFDyeGPZtKHwlhbNvhcWYFv1vhF1nJ0A2GAf91UcMu/WAXoLD1L62A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa8vUexnjTXVhoxDyVU2pp0SVMMqsKPu+G7/gWxh64RgIgRkhgZ/xEx/fqsBz1zoOmeYPIhrKdzHkjElaE7BF8p6E="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.0.2":{"name":"read-torrent","version":"0.0.2","description":"read and parse a torrent from a resource","dependencies":{"bncode":"~0.2.3","request":"~2.16.2"},"bin":{"read-torrent":"./cli.js"},"_id":"read-torrent@0.0.2","dist":{"shasum":"caaffdfe7a7f762d093df1429143116a355f8605","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-0.0.2.tgz","integrity":"sha512-T4FHd6nEvJzf9utFzmfS54ETVztEgXCiuwh6ac27eEfl8aIEJ4N9tV8yVJv7KvnUdLCmeA8U9jipiH2fqgJafA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmdjaZDfSnfM0YxT45vnxhHxY9OdOjg3vp/Lgjz3qrHwIhANGWMsLAaC3dCI2nAz70uD2hfYjSdqI5AmEwbCwCrWny"}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.0.3":{"name":"read-torrent","version":"0.0.3","description":"read and parse a torrent from a resource","dependencies":{"bncode":"~0.2.3","request":"~2.16.2"},"bin":{"read-torrent":"./cli.js"},"_id":"read-torrent@0.0.3","dist":{"shasum":"bb1345b3e09f3a826f0dd54d19abffd8c2200012","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-0.0.3.tgz","integrity":"sha512-IOBnA+Ns5CO9NvMTCI45tD9w5c9dltKobUPddsPJYB8v9LePA2si/HRCapmpsUP/ICeHlSnIlKhzNMuZUCeshA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYq+T7wdOIwuvynQ35RhkNe/Sp5lV+GTXVurYv6KEhNAiEAmIf31D+YC2kOE/IxbuQOkNZjsDu6OOaW7vOC+B8XR7Y="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.0.5":{"name":"read-torrent","version":"0.0.5","description":"read and parse a torrent from a resource","dependencies":{"bncode":"~0.2.3","request":"~2.16.2"},"bin":{"read-torrent":"./cli.js"},"_id":"read-torrent@0.0.5","dist":{"shasum":"5922269c5d65a815c7731b87f7130e78c31a4f59","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-0.0.5.tgz","integrity":"sha512-BuCYOwliWThkYkz+XLvNgGBaragOURSFzUpr7Ouz7NLnA2uLbcyP6G3IclMzOUTqeffljsOA/Vun+ycUGoIOYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDNbFO0oLkD9ZB9OEyAly9ow6dmv5iB6Suv2fAzLpOKwIgX/W0eOYbVHQVHnvGhKgYPp2EncIvDL8cIpDyJbZKy1s="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.0.6":{"name":"read-torrent","version":"0.0.6","description":"read and parse a torrent from a resource","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"bncode":"~0.2.3","request":"~2.16.2"},"bin":{"read-torrent":"./cli.js"},"bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"_id":"read-torrent@0.0.6","dist":{"shasum":"94a3f0f2db197733197590b0cdc2b2be1cb822a0","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-0.0.6.tgz","integrity":"sha512-I80T3KE8fiIoYCT8m63oIawVZEy5F8iH+243qyCLxRJCIz9I/cO8branO+RPdOaJzTYiWe6Y5Rzb2AxYpw985Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6qIh0li9NMvbdaY+UlwZPWkAXXO+WGGcIs7z8Nxw5nQIhAMOzAwjT3SyT/mpaGWVQNNpw7+WTjbw+XHpG8dqZpHW+"}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.1.0":{"name":"read-torrent","version":"0.1.0","description":"read and parse a torrent from a resource","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"bncode":"~0.2.3","request":"~2.16.2"},"bin":{"read-torrent":"./cli.js"},"bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"_id":"read-torrent@0.1.0","dist":{"shasum":"f39e885acb1ea36a231b83555fc95ebe7c569fab","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-0.1.0.tgz","integrity":"sha512-sUM8JH4nWduYfwYFzG7xuPLZM6HNZ3k6mfF9xfdTnOSaer51AQjP+tKiyIpxGDbwejOxeszyyr8MCueayp4uow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDzF/rItE4L8xgQPPiMi0jNPksWQw5EttXZhFWirR7uQIhAMrvam75FGyRJpRhgX1ZRlAK2TtNdmE92e3i68vQgDzm"}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.1.1":{"name":"read-torrent","version":"0.1.1","description":"read and parse a torrent from a resource","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"bncode":"~0.2.3","request":"~2.16.2"},"bin":{"read-torrent":"./cli.js"},"bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"_id":"read-torrent@0.1.1","dist":{"shasum":"4cee646a996bb1b39a8f27799a6b2bafcea9d654","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-0.1.1.tgz","integrity":"sha512-7ox55h3ASQ8CZyBRxVo+I24NNhnYvuUN56f3IhoLj68zl84OE+I5y1izfKxOyjZVozwqrf928mxgI4V0yy++rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmL2Sy7fCeUfugnm0xwZTD5bMcbhPTDO605n+D6x7LCAiEA80MSk/z2GZgAX7a4yurYd7Wacffxd47CwNP0FATXxR8="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.2.0":{"name":"read-torrent","version":"0.2.0","description":"read and parse a torrent from a resource","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"bncode":"~0.2.3","request":"~2.16.2"},"bin":{"read-torrent":"./cli.js"},"bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"_id":"read-torrent@0.2.0","dist":{"shasum":"27310fd29d13ed1ad00ed65be10a1acb9f37804d","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-0.2.0.tgz","integrity":"sha512-p8SS2v3h+bg2AZACmAqVFn91KDfTTUPiEV/UV5cTbO+CcDuEMYraNPdtMOERodSRF1jFxvGNtqd1pM6oJ0Sqdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDq9TgqfvXrQCcpypSm2miOYM83X2+ETdUlIjEuh2Wq0AiEA/7tlwwFs6tL324GF1FPusSgjAewA9lL7+Hnl6JEf0Ec="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"1.0.0":{"name":"read-torrent","version":"1.0.0","description":"Read and parse a torrent from a resource.","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"request":"~2.16.2","parse-torrent":"~1.0.0","magnet-uri":"~2.0.0"},"bin":{"read-torrent":"./cli.js"},"bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"homepage":"https://github.com/mafintosh/read-torrent","_id":"read-torrent@1.0.0","dist":{"shasum":"d45427a10dbbf21479fdf7e1ce8ce4ad39770966","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-1.0.0.tgz","integrity":"sha512-KcwwASakCDl/jtmcV+R+7UKI7vDMzm56d8gLg45Yohzf4hTvvvE5OrreN6izipOgnhgq8dCHcYCK4u/fPGU6pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsLCOZtl+PAi7KoXfGxLUR2gmzGePu8soycWKOSP5RLAiAjvr/+v3q2UPhA++ddVSEVyWMiDz8fHtpf1JSwdwQ1iA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"1.1.0":{"name":"read-torrent","version":"1.1.0","description":"Read and parse a torrent from a resource.","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"request":"~2.16.2","parse-torrent":"~1.0.0","magnet-uri":"~2.0.0"},"bin":{"read-torrent":"./cli.js"},"gitHead":"7a5c256f6529481b00e7b314ec9735644a2a9bdf","bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"homepage":"https://github.com/mafintosh/read-torrent","_id":"read-torrent@1.1.0","scripts":{},"_shasum":"a34506d88b50682e01cb638576b4fccebfe706ed","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"a34506d88b50682e01cb638576b4fccebfe706ed","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-1.1.0.tgz","integrity":"sha512-pP3k3M25XbHABo4U2rSxc/Kazyz4haYfK5ldVfctz81jtruW6C2UbaCrKgmz4y0U/ALbn9ia3A9gPVoz94vkBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxf2qdNv40yHii5xdhqSqtVB/Ttlz96S2P+CiunVDiKAiEAlfEjhzwQrFV6gQ+4dPcMqLy9MYk2kynqP6fzIkVHabc="}]},"directories":{}},"1.2.0":{"name":"read-torrent","version":"1.2.0","description":"Read and parse a torrent from a resource.","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"magnet-uri":"~2.0.0","parse-torrent":"~1.0.0","request":"~2.16.2","xtend":"^4.0.0"},"bin":{"read-torrent":"./cli.js"},"gitHead":"1b295bbfb1fc638f4b6b67e70b9f3bf22ad0e9f3","bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"homepage":"https://github.com/mafintosh/read-torrent","_id":"read-torrent@1.2.0","scripts":{},"_shasum":"2b5fa465ab1e3a9a2e478403b425910ae66c58a9","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.33","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"2b5fa465ab1e3a9a2e478403b425910ae66c58a9","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-1.2.0.tgz","integrity":"sha512-3kRUTWgub0bUG95/HS9TdakKmMoi3w/3HlhpuRSnteaLc1Lb1284J6NipbI2lJYhbUjucnc/0fG7RwKTKk7h+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEUAK26hiHwoqolBMIDd2Y9ZyelBZO6N5swmljevmmR3AiEA8usFqunRg9BO5bn8lSz5zyIZzEkcONroz+M7ZMZTJfo="}]},"directories":{}},"1.3.0":{"name":"read-torrent","version":"1.3.0","description":"Read and parse a torrent from a resource.","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"magnet-uri":"~2.0.0","parse-torrent":"^4.0.0","request":"~2.16.2","xtend":"^4.0.0"},"bin":{"read-torrent":"./cli.js"},"gitHead":"36473f641b0b3a0d04b3e8e47c23935025d0cd43","bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"homepage":"https://github.com/mafintosh/read-torrent","_id":"read-torrent@1.3.0","scripts":{},"_shasum":"4e0ef5bea6cb24d31843eb6fa8543ad0232ab9f4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.3.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"4e0ef5bea6cb24d31843eb6fa8543ad0232ab9f4","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-1.3.0.tgz","integrity":"sha512-nce3FGCYVOUHupFajgRtPYov09TWXkjrkEhacY4D54UMCWJs8M1xz9XAZbIvHxVv/ASFJIOD41V+TfZzr+lTgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0nyEqTeYGm0kHIQYDqwYNR6gCIcsle8DrZKHzxp4xSAiAvJpOz/Ja2BLWpA8kblcnAcKMjvWEPnVlh/hVO3LONFg=="}]},"directories":{}},"1.3.1":{"name":"read-torrent","version":"1.3.1","description":"Read and parse a torrent from a resource.","repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"dependencies":{"magnet-uri":"~2.0.0","parse-torrent":"^4.0.0","request":"^2.83.0","xtend":"^4.0.0"},"bin":{"read-torrent":"./cli.js"},"gitHead":"92534fd23cad9b6c94b4cb865e19d03cca6fd37e","bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"homepage":"https://github.com/mafintosh/read-torrent#readme","_id":"read-torrent@1.3.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"integrity":"sha512-TzPdVpK3xEnvsS1yCy94CiOmfzG2/MNuZjpZi64+HJxb9fVZD4nIfFFGZ9T2N/dgwOFumfacw3xCD6rXtgwn2g==","shasum":"de7e721af6f7d94e0e7a1f23a94b71edc073b1ae","tarball":"https://registry.npmjs.org/read-torrent/-/read-torrent-1.3.1.tgz","fileCount":5,"unpackedSize":8020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9QC9CRA9TVsSAnZWagAAvxQP/iDnvvrs3c5Sj9Wy6waz\nk3lZIaDM7Vodm0iqedwGltWb6KwIPF48hMTgzWs++/iqUycJ3UKtFahCdUYV\nbONqyMRj7VmS07aPdBkyh8e7+itaw2WSlh+rsZQjfY3CmnZ0mY/Y7GGNqPHq\nbh4m6ia/XyXBgS9yDFVUr+P89lhZ4VJiFQEtCc9yuuxiU3cb4oPE2lOTh+Z3\nvEZkO3EAl8/aHPO40JdUdAQnXt7/ES7ausANlsDvqI22Gx8L5ARozyfWxPBP\n8qUrguqox0bTenoViHMX5RxS574bLeMFkCEtVRbDIb3SkR3/45kkoFEUDJ27\nykbWYTrqBf9XfML6lDyKFA8klTODta8bVuT/xdRAOoQPaej1smW30lEQNRQh\nCt8YcVXsri9dvE07SeRXmzZGIZnI4jvW0DUKG3Q1cXWfZZtXb1x1Tptb8m2j\nih7iQJ78CPygN1rF8+kKvadOZZvYgxd1X7KsyVy8Bbd41PgrFFUNh4cCGwFn\nAM+3CdZuYyFIJwMcVhxF1QufJ4BxDaCetwOj+57pb60qtCmcEGFr84RVgv4+\n4sGqR74I+JlEEYIPZ/9bMP8qHVGt/Qs2i/FpOh16fBNa6wUgelXQ7WBZO4QT\nTQC8AXdD6/+eX71499PUjP5ngjxit5nrU621tWlAilRuJwQGSqO4/ONabinB\nDuvz\r\n=XyTn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBeAVVvg07pSaBQ92kZ2hjbFtgPb4/6xluGqRODXs5S6AiEArrOwc0knGsGxl8O5Z0j1SDnymvUHp9/D2uABpDdsv9U="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-torrent_1.3.1_1542783165124_0.5172157225605767"},"_hasShrinkwrap":false}},"readme":"# read-torrent\n\nRead and parse a torrent from a resource\n\n\tnpm install read-torrent\n\n## Usage\n\n``` js\nvar readTorrent = require('read-torrent');\n\nreadTorrent('http://my-server.com/file.torrent', options, function(err, torrent) {\n\t// we loaded a torrent from a server\n});\n\nreadTorrent('mydir/file.torrent', function(err, torrent) {\n\t// we loaded a torrent from a file\n});\n```\nwhere `options` is a javascript object with [request](https://www.npmjs.com/package/request) options\n\nThe torrent result looks like this:\n\n``` js\n{\n  infoHash: 'd2474e86c95b19b8bcfdb92bc12c9d44667cfa36',\n  name: 'Leaves of Grass by Walt Whitman.epub',\n  private: false,\n  created: new Date('Thu Aug 01 2013 06:27:46 GMT-0700 (PDT)'),\n  announce: [\n    'http://tracker.thepiratebay.org/announce',\n    'udp://tracker.openbittorrent.com:80',\n    'udp://tracker.ccc.de:80',\n    'udp://tracker.publicbt.com:80',\n    'udp://fr33domtracker.h33t.com:3310/announce'\n  ],\n  files: [\n    {\n      path: 'Leaves of Grass by Walt Whitman.epub',\n      name: 'Leaves of Grass by Walt Whitman.epub',\n      length: 362017,\n      offset: 0\n    }\n  ],\n  length: 362017,\n  pieceLength: 16384,\n  lastPieceLength: 1569,\n  pieces: [\n    '1f9c3f59beec079715ec53324bde8569e4a0b4eb',\n    'ec42307d4ce5557b5d3964c5ef55d354cf4a6ecc',\n    '7bf1bcaf79d11fa5e0be06593c8faafc0c2ba2cf',\n    '76d71c5b01526b23007f9e9929beafc5151e6511',\n    '0931a1b44c21bf1e68b9138f90495e690dbc55f5',\n    '72e4c2944cbacf26e6b3ae8a7229d88aafa05f61',\n    'eaae6abf3f07cb6db9677cc6aded4dd3985e4586',\n    '27567fa7639f065f71b18954304aca6366729e0b',\n    '4773d77ae80caa96a524804dfe4b9bd3deaef999',\n    'c9dd51027467519d5eb2561ae2cc01467de5f643',\n    '0a60bcba24797692efa8770d23df0a830d91cb35',\n    'b3407a88baa0590dc8c9aa6a120f274367dcd867',\n    'e88e8338c572a06e3c801b29f519df532b3e76f6',\n    '70cf6aee53107f3d39378483f69cf80fa568b1ea',\n    'c53b506159e988d8bc16922d125d77d803d652c3',\n    'ca3070c16eed9172ab506d20e522ea3f1ab674b3',\n    'f923d76fe8f44ff32e372c3b376564c6fb5f0dbe',\n    '52164f03629fd1322636babb2c014b7dae582da4',\n    '1363965261e6ce12b43701f0a8c9ed1520a70eba',\n    '004400a267765f6d3dd5c7beb5bd3c75f3df2a54',\n    '560a61801147fa4ec7cf568e703acb04e5610a4d',\n    '56dcc242d03293e9446cf5e457d8eb3d9588fd90',\n    'c698de9b0dad92980906c026d8c1408fa08fe4ec'\n  ]\n}\n```\n\nFor convenience, `read-torrent` also support reading magnet uri. Resulting information is limited, though.\n\n``` js\n// \"Leaves of Grass\" by Walt Whitman\nvar uri = 'magnet:?xt=urn:btih:d2474e86c95b19b8bcfdb92bc12c9d44667cfa36&dn=Leaves+of+Grass+by+Walt+Whitman.epub&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337'\n\nreadTorrent(uri, function(err, torrent) {\n  // we loaded a torrent from a magnet uri\n});\n```\n\nResulting information depends on the contents of the URI, but `infoHash` is guaranteed for any valid magnet uri.\n\n## Command-line interface\n\nThere is also a command-line interface available if you install it with `-g`\n\n\tnpm install -g read-torrent\n\nThis installs a program called `read-torrent` that you simply pass a torrent file or url\n\n\tread-torrent http://my-server.com/file.torrent\n\nThis will print all meta info of the torrent file to the terminal\n\n## Comments\n\nThanks to https://github.com/feross for `parse-torrent` and `magnet-uri`\n","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-26T09:14:45.573Z","created":"2013-03-14T16:23:45.179Z","0.0.1":"2013-03-14T16:23:54.335Z","0.0.2":"2013-03-17T18:44:51.038Z","0.0.3":"2013-04-14T15:18:33.977Z","0.0.5":"2013-04-18T17:02:55.917Z","0.0.6":"2013-07-06T08:35:40.101Z","0.1.0":"2013-07-09T10:49:29.437Z","0.1.1":"2013-07-13T21:47:28.945Z","0.2.0":"2013-08-08T20:03:59.214Z","1.0.0":"2014-04-22T09:21:00.768Z","1.1.0":"2014-10-23T14:40:38.931Z","1.2.0":"2014-12-17T13:51:54.153Z","1.3.0":"2015-02-24T20:44:09.333Z","1.3.1":"2018-11-21T06:52:45.248Z"},"repository":{"type":"git","url":"git://github.com/mafintosh/read-torrent.git"},"homepage":"https://github.com/mafintosh/read-torrent#readme","bugs":{"url":"https://github.com/mafintosh/read-torrent/issues"},"readmeFilename":"README.md","users":{"roryrjb":true,"softwind":true}}