GT2/GT2-iOS/node_modules/read-chunk/package.json

113 lines
3.3 KiB
JSON

{
"_args": [
[
{
"raw": "read-chunk@^2.0.0",
"scope": null,
"escapedName": "read-chunk",
"name": "read-chunk",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/xdl"
]
],
"_from": "read-chunk@>=2.0.0 <3.0.0",
"_id": "read-chunk@2.1.0",
"_inCache": true,
"_location": "/read-chunk",
"_nodeVersion": "4.8.3",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/read-chunk-2.1.0.tgz_1501433622531_0.07705382723361254"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"raw": "read-chunk@^2.0.0",
"scope": null,
"escapedName": "read-chunk",
"name": "read-chunk",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/@expo/schemer",
"/xdl"
],
"_resolved": "https://registry.npmjs.org/read-chunk/-/read-chunk-2.1.0.tgz",
"_shasum": "6a04c0928005ed9d42e1a6ac5600e19cbc7ff655",
"_shrinkwrap": null,
"_spec": "read-chunk@^2.0.0",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/xdl",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/read-chunk/issues"
},
"dependencies": {
"pify": "^3.0.0",
"safe-buffer": "^5.1.1"
},
"description": "Read a chunk from a file",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "6a04c0928005ed9d42e1a6ac5600e19cbc7ff655",
"tarball": "https://registry.npmjs.org/read-chunk/-/read-chunk-2.1.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "6c28ff8f5dd1dec086c1f97b0091c473a285622c",
"homepage": "https://github.com/sindresorhus/read-chunk#readme",
"keywords": [
"read",
"file",
"readfile",
"fs",
"chunk",
"slice",
"part",
"head",
"tail",
"buffer",
"fd",
"open"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "read-chunk",
"optionalDependencies": {},
"readme": "# read-chunk [![Build Status](https://travis-ci.org/sindresorhus/read-chunk.svg?branch=master)](https://travis-ci.org/sindresorhus/read-chunk)\n\n> Read a chunk from a file\n\nBecause the built-in way requires way too much boilerplate.\n\n\n## Install\n\n```\n$ npm install read-chunk\n```\n\n\n## Usage\n\n```js\nconst readChunk = require('read-chunk');\n\n// foo.txt => hello\n\nreadChunk.sync('foo.txt', 1, 3);\n//=> 'ell'\n```\n\n\n## API\n\n### readChunk(filepath, position, length)\n\nReturns a `Promise<Buffer>`.\n\n### readChunk.sync(filepath, position, length)\n\nReturns a `Buffer`.\n\n#### filepath\n\nType: `string`\n\n#### position\n\nType: `number`\n\nPosition to start reading.\n\n#### length\n\nType: `number`\n\nNumber of bytes to read.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/read-chunk.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "2.1.0"
}