{"_id":"slice-source","_rev":"16-95376f11f94017454ff6055c6f1efb1d","name":"slice-source","description":"A readable stream reader that reads a desired number of bytes.","dist-tags":{"latest":"0.4.1"},"versions":{"0.0.1":{"name":"slice-source","version":"0.0.1","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup -f umd -n sources -o build/slice-source.js -- index.js","postpublish":"git push && git push --tags"},"devDependencies":{"rollup":"0.34"},"gitHead":"6818899ce4ecc0a780cd32809989ec78504991bf","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.0.1","_shasum":"439f838e5ca8aa21ecc839265659478c9e1464b1","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mbostock@gmail.com"}],"dist":{"shasum":"439f838e5ca8aa21ecc839265659478c9e1464b1","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.0.1.tgz","integrity":"sha512-eEDV/ROOYShSX5AXFagtJ2Hr8d0FbFcLNLXwch56v+oxfWRCtDKkrOIZkndRlYK1ntmZpslMwOvb/YTMOtwfbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2CY8tPGAEhFddTwu2J7Kk0/Tre/6cs+FOb7yxhwxvtwIhAMjWv726oDoh5Oqxd4eDSyyTmHSsBacttOWEwMtbpZ/N"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/slice-source-0.0.1.tgz_1473111205871_0.7941134909633547"}},"0.1.0":{"name":"slice-source","version":"0.1.0","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup -f umd -n sources -o build/slice-source.js -- index.js","postpublish":"git push && git push --tags"},"devDependencies":{"rollup":"0.34"},"gitHead":"e8de8f97706433bce66b0c991f91e470523472a2","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.1.0","_shasum":"8b0b1454e3e406c9f31d023d8e99de69074779de","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"8b0b1454e3e406c9f31d023d8e99de69074779de","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.1.0.tgz","integrity":"sha512-q5anuWNqgOlgiXMJno0agBSYWMmoo8ylPHy4jab5xiiyTB31aRTBrCi0SDZ5eqFDIu+jxgvyZFxceVKWKxz36Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC382wk14raM2j1feRX+Ugdc1GbxljIE3Spe4snSE8dyQIgATEYKFQzsb1y2NsOH7ZjC773mygLBaznf/aa/wMStWk="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slice-source-0.1.0.tgz_1473179344765_0.623808590695262"}},"0.1.1":{"name":"slice-source","version":"0.1.1","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup -f umd -n sources -o build/slice-source.js -- index.js","postpublish":"git push && git push --tags"},"devDependencies":{"rollup":"0.34"},"gitHead":"6aba26720d64d2bd412d644467dfcbbcdf43b693","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.1.1","_shasum":"ff82ac0e0fff76b3b355552cccbca863f8a522c9","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"ff82ac0e0fff76b3b355552cccbca863f8a522c9","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.1.1.tgz","integrity":"sha512-Y1gsXpAJcHFfOZcOyVtM7VS1X220HN6C4y5jhUl/eaiFph5zqWdd395XQM+B3r8uvCckd3piqbyN/+KVNAtxaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHZoNXJ2Nxihot9nh9GxyZxgJKaisqcJ9o9sFYrK3NpBAiEAlXkAly7bYGD7SmWSxfWb3UC84J7jMEse7h3nGAd5S74="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slice-source-0.1.1.tgz_1473179635874_0.968729340704158"}},"0.1.2":{"name":"slice-source","version":"0.1.2","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"build/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"pretest":"rm -rf build && mkdir build && rollup -f umd -n sources -o build/slice-source.js -- index.js","postpublish":"git push && git push --tags"},"devDependencies":{"rollup":"0.34"},"gitHead":"9c3ed114e9404c3962327bbdf662b078bfd1cade","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.1.2","_shasum":"ecfd28fd8bd0bb9fc68a8ac2700958d656386f2d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"ecfd28fd8bd0bb9fc68a8ac2700958d656386f2d","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.1.2.tgz","integrity":"sha512-MDDZK66mC5IoaNWnP4PbZ816fySmH+3E/DWb7Cc/foVJLiNVIQqS0OEtWC+WFJwhFSE7LjSFsZsMIFv2tyqmGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBdr2zuMMz6P93KmtMcnBttb9/rcVLPNNI2O8rA5sRggIgMiInwmHyUUeqcbju58irESG7fetDq0wlK4WsYPRLdT0="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slice-source-0.1.2.tgz_1473179722053_0.8019215064123273"}},"0.1.3":{"name":"slice-source","version":"0.1.3","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"build/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf build && mkdir build && rollup -f umd -n sources -o build/slice-source.js -- index.js","postpublish":"git push && git push --tags"},"devDependencies":{"rollup":"0.34"},"gitHead":"3d8a04c8c49985b5e41a83002321b182d371b48f","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.1.3","_shasum":"2c6da5e0c304563b6fa6b1b18f00b8c2220c3569","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"2c6da5e0c304563b6fa6b1b18f00b8c2220c3569","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.1.3.tgz","integrity":"sha512-DKuT+ECbSXRU9JwxCl2nHF3r3MWIpX8VZYinfWWGRr0JWqtDJPzSZ3yQ4qZqO/YpEhKNSEUqFR6UXSGVtjwpig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxLrxzo8byHpk2/oLUEhK+k9hsXfpu8GZmj69jyPur3gIgbGEomlxFxOE7oVG5AKOsBGtYpLgGorxLMy/OnzlCyVo="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slice-source-0.1.3.tgz_1473179795182_0.7617319752462208"}},"0.1.4":{"name":"slice-source","version":"0.1.4","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources -o dist/slice-source.js -- index.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"2b55cf16f6e6ec234d6ab585fcf8951214e797f0","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.1.4","_shasum":"b4836e23c0c3b275645d442ecf18da4e74ce52e4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"b4836e23c0c3b275645d442ecf18da4e74ce52e4","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.1.4.tgz","integrity":"sha512-9E5Hm7gRPbCWhhZY1yGnaLDbq+7jgUGs9zfWeVm+rJret8U8L1unKIJGIKu8/r/bpj9S29t2IUVKyX1XMACwWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPmc1Kidv3qevtyO09CImjJrc2ZsEZyCVqf0KoVEQ+GAiEArkg18Gygw81w2gA1kRxD/jUS6xTAyodM4+YmEiBObVU="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slice-source-0.1.4.tgz_1473180064058_0.5157301498111337"}},"0.2.0":{"name":"slice-source","version":"0.2.0","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.node.js","browser":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources -o dist/slice-source.js -- index.js && rollup --banner \"$(preamble)\" -f cjs -n sources -o dist/slice-source.node.js -- index.node.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"2b2704562b4d320ae83e45f7aaaa9ae6304d503e","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.2.0","_shasum":"8744efe728262f6c0a872e299931907a6639b917","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"8744efe728262f6c0a872e299931907a6639b917","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.2.0.tgz","integrity":"sha512-KdFnuAD6TN2YvZS664UBRgPBhwDNvYY/Wq3JWqKOjs0dFRgCTspi2dKuQSChqZc1gZPFSREwK4BEK6uT57hKNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC54iKTsPx2aOz2rnsFLgxwK8Q91HZFHxoACpEb/obesQIhANu5TJSjf9CFIYpvHSD1h2xwUfWhAcQ0hS9KzyuZ142N"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/slice-source-0.2.0.tgz_1473185444851_0.8517327541485429"}},"0.2.1":{"name":"slice-source","version":"0.2.1","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources.slice -o dist/slice-source.js -- index.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"86b17f6baf342cd9f57782bc61f34bbdf2c1264a","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.2.1","_shasum":"e4c1d8dd0a2ffed2c8c7ef4c5f6b84c831b90b79","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"e4c1d8dd0a2ffed2c8c7ef4c5f6b84c831b90b79","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.2.1.tgz","integrity":"sha512-mRpdqwmHO33yaIe6/Q6BawFi5SjSgDkOg8hnn3eV49bKhLY2SSkYYejkkOXMb9890JqeVj7uq7s5OpMLi5JmIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2KzmlYg/uWAqNfUAMWXz2TVlM/3STZSQxe1y5M+HxfgIhAJo/QJSwApbF+ZFWMPD7UKp3qX3XAw5MQGjqPuBXpzxd"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slice-source-0.2.1.tgz_1473192196720_0.1233661132864654"}},"0.3.0":{"name":"slice-source","version":"0.3.0","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources.slice -o dist/slice-source.js -- index.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"28835c540889d7edc998217da862b4eb6f3da185","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.3.0","_shasum":"276de4a86562642a19f83ac785f0cb574992581e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"276de4a86562642a19f83ac785f0cb574992581e","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.3.0.tgz","integrity":"sha512-nu50aJCJzT4cqCP4nBlBLh94no7n4ZZ2U+PANZhuA9XskGz0zUhYCledpswXgXtD3KH9mZFEcjpDSWy2L12Uzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr5xRFanmnUWNKar3KYJpiHFqoRwoSAf/lv8JKf8FxxQIgYJQMMQL1PazazDdYylSQ/V3ec/EMf2Ybj/z+R+IFzH4="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/slice-source-0.3.0.tgz_1473195490367_0.8687840702477843"}},"0.3.1":{"name":"slice-source","version":"0.3.1","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources.slice -o dist/slice-source.js -- index.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"14433eea49f08df22cb130aa1eb8b8f8ee4708e7","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.3.1","_shasum":"a81c8ebdada76c0df5a50d0dcce4579db71dadde","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"a81c8ebdada76c0df5a50d0dcce4579db71dadde","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.3.1.tgz","integrity":"sha512-p5TSyBSUmafGHmzS0ScTUMGvcyiutmpnYrcZLJSqmaM4qXNZtIVBwji/g0d7Wct09wuyBgZjIENxDVC2Dt47tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+mFPeBYHyQwoEvH5g39l6wbifbIEWvEmUdlVVF/7QpgIgSBnktd6K3H9qtKSvBlRWaJPVUE5G5QmjmB0Huc1s82w="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/slice-source-0.3.1.tgz_1473196871265_0.342622356954962"}},"0.3.2":{"name":"slice-source","version":"0.3.2","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources.slice -o dist/slice-source.js -- index.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"a659d4342d3fd7d293054b12df51635d1fe775a5","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.3.2","_shasum":"09a310381e07d320f5a4b01e6562981592209aa8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"09a310381e07d320f5a4b01e6562981592209aa8","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.3.2.tgz","integrity":"sha512-85Ay91Wru2E9z+30kkzLd1giQXZO6LM+IssZfUDVtwhCMO7X+YIxT77zd3YZyOT18JP+qUj9UvZqKikKOa8toA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFph0nuSIG5MFycqdP0rZKbh6SYyLPixL0ZtRAv4FggnAiEA8LlFCU1qpLiJHpCt9Ozpo6/OyzA4CwKjD0OlPwwtgcM="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/slice-source-0.3.2.tgz_1473198484839_0.9103993163444102"}},"0.3.3":{"name":"slice-source","version":"0.3.3","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources.slice -o dist/slice-source.js -- index.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"4175deea877e38ba35d27b075d2e9f6506cac3d3","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.3.3","_shasum":"8452835e1c99abff9211a3ff0ba7c43961187987","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"8452835e1c99abff9211a3ff0ba7c43961187987","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.3.3.tgz","integrity":"sha512-y5VWzANp3tm2PKLHEnip1zMRIeBSGCfWGnI3lON7AqxzM+vHliWCXS4XAoqRvMval1g1FQFQCnPdlabZFowWww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3oaVD9tKEfs5hbWzTHCwxbzKGnA4eoUgClLFSiMK8/AiAs7LadmBKOeR+/4GqtY6lUE01qLNuOW7GJu/NTuZyMPg=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slice-source-0.3.3.tgz_1473203398021_0.37906198343262076"}},"0.4.0":{"name":"slice-source","version":"0.4.0","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources.slice -o dist/slice-source.js -- index.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"e8204e9ad91cfcc163f9e0256183f600e2e4f04e","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.4.0","_shasum":"42942799254383b9739aca23d95e5456da3487dc","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"42942799254383b9739aca23d95e5456da3487dc","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.4.0.tgz","integrity":"sha512-zbXGde//PD1MvQDT7tzKSMB1nJvVzmwra33SjFWD+VAPp4H2bm8teflnssvgMb70Da7BxT+rw6DTaZK+qAvoyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+8Xm7K0oGIZm+5dSeFcgguIvA0qy97vZ/ah3GmcfcEAIgedFHLIfX4TTDA7jbo4zh3BpWuxX4lr2s3Im0jppnkRs="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/slice-source-0.4.0.tgz_1473265569877_0.18394035659730434"}},"0.4.1":{"name":"slice-source","version":"0.4.1","description":"A readable stream reader that reads a desired number of bytes.","keywords":["binary","stream","reader"],"homepage":"https://github.com/mbostock/slice-source","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"main":"dist/slice-source.js","module":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"scripts":{"prepublish":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -n sources.slice -o dist/slice-source.js -- index.js && uglifyjs --preamble \"$(preamble)\" -o dist/slice-source.min.js -cm -- dist/slice-source.js","postpublish":"git push && git push --tags"},"devDependencies":{"package-preamble":"0.0","rollup":"0.34","uglify-js":"2"},"gitHead":"78535bcbe07d44eeee5afaab3ba5cf1f21e6ddab","bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"_id":"slice-source@0.4.1","_shasum":"40a57ac03c6668b5da200e05378e000bf2a61d79","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"40a57ac03c6668b5da200e05378e000bf2a61d79","tarball":"https://registry.npmjs.org/slice-source/-/slice-source-0.4.1.tgz","integrity":"sha512-YiuPbxpCj4hD9Qs06hGAz/OZhQ0eDuALN0lRWJez0eD/RevzKqGdUx1IOMUnXgpr+sXZLq3g8ERwbAH0bCb8vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY5WMmIYtVZ1xhkzhxGZS2mmrtxq5L7rrgnVx0qHc/eQIhAOL+jO8GBo4itNFWpP3RGBJkKVRNjtzK2A6vn7y/xnl2"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/slice-source-0.4.1.tgz_1473270019472_0.43472423660568893"}}},"readme":"# slice-source\n\nA [readable stream reader](https://streams.spec.whatwg.org/#readable-stream-reader) that allows you to pull the specified number of bytes from the underlying readable stream. For example:\n\n```html\n<!DOCTYPE html>\n<script src=\"https://unpkg.com/slice-source@0\"></script>\n<script>\n\nfetch(\"https://cors-anywhere.herokuapp.com/\")\n  .then(response => {\n    return (function read(reader) {\n      return reader.slice(40).then(value => {\n        if (value == null) return;\n        console.log(value);\n        return read(reader);\n      });\n    })(sources.slice(response.body));\n  })\n  .catch(error => console.error(error.stack));\n\n</script>\n```\n\n## API Reference\n\n<a name=\"slice\" href=\"#slice\">#</a> <b>slice</b>(<i>stream</i>) [<>](https://github.com/mbostock/slice-source/blob/master/index.js#L4 \"Source\")\n<br><a href=\"#slice\">#</a> <b>slice</b>(<i>reader</i>)\n<br><a href=\"#slice\">#</a> <b>slice</b>(<i>source</i>)\n\nIf the specified *source* exposes a *source*.slice method, it is assumed to be a sliceable *source* and returned as-is. Otherwise, if the specified *reader* exposes a *reader*.read method, it is assumed to be a [readable stream *reader*](https://streams.spec.whatwg.org/#readable-stream-reader), and a new sliceable *source* for the specified *reader* is returned. Otherwise, the specified *reader* is assumed to be a [readable *stream*](https://streams.spec.whatwg.org/#rs), and a new sliceable *source* for the reader returned by *stream*.getReader is returned.\n\n<a name=\"source_slice\" href=\"#source_slice\">#</a> <i>source</i>.<b>slice</b>(<i>length</i>) [<>](https://github.com/mbostock/slice-source/blob/master/read.js \"Source\")\n\nReturns a Promise for the next chunk of data from the underlying stream, yielding a [Uint8Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) of *length* bytes, or the remaining bytes of the underlying stream if the underlying stream has more than zero but fewer than *length* bytes remaining, or null when no bytes remain in the stream.\n\n<a name=\"source_read\" href=\"#source_read\">#</a> <i>source</i>.<b>read</b>() [<>](https://github.com/mbostock/slice-source/blob/master/read.js \"Source\")\n\nReturns a Promise for the next chunk of data from the underlying stream. The yielded result is an object with the following properties:\n\n* `value` - a [Uint8Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array), or undefined if the stream ended\n* `done` - a boolean which is true if the stream ended\n\n<a name=\"source_cancel\" href=\"#source_cancel\">#</a> <i>source</i>.<b>cancel</b>() [<>](https://github.com/mbostock/slice-source/blob/master/cancel.js \"Source\")\n\nReturns a Promise which is resolved when the underlying stream has been destroyed.\n","maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"time":{"modified":"2022-06-26T20:55:28.529Z","created":"2016-09-05T21:33:27.764Z","0.0.1":"2016-09-05T21:33:27.764Z","0.1.0":"2016-09-06T16:29:05.001Z","0.1.1":"2016-09-06T16:33:56.101Z","0.1.2":"2016-09-06T16:35:22.282Z","0.1.3":"2016-09-06T16:36:35.411Z","0.1.4":"2016-09-06T16:41:04.289Z","0.2.0":"2016-09-06T18:10:46.748Z","0.2.1":"2016-09-06T20:03:18.383Z","0.3.0":"2016-09-06T20:58:12.355Z","0.3.1":"2016-09-06T21:21:13.229Z","0.3.2":"2016-09-06T21:48:06.689Z","0.3.3":"2016-09-06T23:09:58.262Z","0.4.0":"2016-09-07T16:26:12.085Z","0.4.1":"2016-09-07T17:40:19.698Z"},"homepage":"https://github.com/mbostock/slice-source","keywords":["binary","stream","reader"],"repository":{"type":"git","url":"git+ssh://git@github.com/mbostock/slice-source.git"},"author":{"name":"Mike Bostock","url":"https://bost.ocks.org/mike"},"bugs":{"url":"https://github.com/mbostock/slice-source/issues"},"license":"BSD-3-Clause","readmeFilename":"README.md"}