{"_id":"fs-read-exactly","_rev":"3-66acc292ff098c3d33e587b697118ab1","name":"fs-read-exactly","description":"Read exactly n bytes of an fd or file","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"fs-read-exactly","version":"1.0.0","description":"Read exactly n bytes of an fd or file","license":"MIT","author":{"name":"Vincent Weevers"},"files":["index.js"],"scripts":{"test":"node test.js"},"dependencies":{"fs-lotus":"~1.0.1"},"devDependencies":{"tape":"~4.6.3"},"repository":{"type":"git","url":"git+https://github.com/vweevers/fs-read-exactly.git"},"bugs":{"url":"https://github.com/vweevers/fs-read-exactly/issues"},"homepage":"https://github.com/vweevers/fs-read-exactly","keywords":["chunk","fs","read"],"engines":{"node":">=4.0.0","npm":">=2.0.0"},"gitHead":"4107abdad14bc4557c5789b184b7d961915a83ee","_id":"fs-read-exactly@1.0.0","_shasum":"c80089c08a174f900aebd8f911462b4f38e6cb5c","_from":".","_npmVersion":"4.0.3","_nodeVersion":"6.8.0","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"dist":{"shasum":"c80089c08a174f900aebd8f911462b4f38e6cb5c","tarball":"https://registry.npmjs.org/fs-read-exactly/-/fs-read-exactly-1.0.0.tgz","integrity":"sha512-pPR9p4LzvJQGwiEjD3UuX8eYMGPDY/6DbF0tU9jfp7PfTqya0vwHORKiFYeoecS+HubWAUPp64ZJqZsrJExPfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDepHZxhIoAgPj6SXsmxIxzZLE8ljrOj5T9/9dH5p8cdAIgSlppiN2KJmBJA+b8l8dsJh7UpMd2XE5tc8BLd3LtnDE="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fs-read-exactly-1.0.0.tgz_1482182424789_0.6759246410802007"}}},"readme":"# fs-read-exactly\n\n**Read exactly n bytes of an fd or file**\n\n[![npm status](http://img.shields.io/npm/v/fs-read-exactly.svg?style=flat-square)](https://www.npmjs.org/package/fs-read-exactly) [![node](https://img.shields.io/node/v/fs-read-exactly.svg?style=flat-square)](https://www.npmjs.org/package/fs-read-exactly) [![Travis build status](https://img.shields.io/travis/vweevers/fs-read-exactly.svg?style=flat-square&label=travis)](http://travis-ci.org/vweevers/fs-read-exactly) [![AppVeyor build status](https://img.shields.io/appveyor/ci/vweevers/fs-read-exactly.svg?style=flat-square&label=appveyor)](https://ci.appveyor.com/project/vweevers/fs-read-exactly) [![Dependency status](https://img.shields.io/david/vweevers/fs-read-exactly.svg?style=flat-square)](https://david-dm.org/vweevers/fs-read-exactly)\n\n## example\n\n```js\nconst readExactly = require('fs-read-exactly')\n\nreadExactly('readme.md', 0, 15, function (err, chunk) {\n  console.log(err) // null\n  console.log(chunk.toString()) // '# fs-read-exact'\n})\n\nreadExactly('readme.md', 0, 1e4, function (err, chunk) {\n  console.log(err.code) // 'EOF'\n})\n```\n\n## `readExactly(mixed, pos, length, callback)`\n\nWhere `mixed` is either a filename or a file descriptor.\n\n## install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install fs-read-exactly\n```\n\n## license\n\n[MIT](http://opensource.org/licenses/MIT) © Vincent Weevers\n","maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"time":{"modified":"2022-06-18T03:54:48.842Z","created":"2016-12-19T21:20:25.405Z","1.0.0":"2016-12-19T21:20:25.405Z"},"homepage":"https://github.com/vweevers/fs-read-exactly","keywords":["chunk","fs","read"],"repository":{"type":"git","url":"git+https://github.com/vweevers/fs-read-exactly.git"},"author":{"name":"Vincent Weevers"},"bugs":{"url":"https://github.com/vweevers/fs-read-exactly/issues"},"license":"MIT","readmeFilename":"readme.md"}