| 1 |
{ |
| 2 |
"_id": "to-arraybuffer", |
| 3 |
"_rev": "1-f7aba78f216e07c4b06dfdb364e2c136", |
| 4 |
"name": "to-arraybuffer", |
| 5 |
"description": "Get an ArrayBuffer from a Buffer as fast as possible", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.0.1" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.1": { |
| 11 |
"name": "to-arraybuffer", |
| 12 |
"version": "1.0.1", |
| 13 |
"description": "Get an ArrayBuffer from a Buffer as fast as possible", |
| 14 |
"main": "index.js", |
| 15 |
"scripts": { |
| 16 |
"test": "npm run test-node && ([ -n \"${TRAVIS_PULL_REQUEST}\" -a \"${TRAVIS_PULL_REQUEST}\" != 'false' ] || npm run test-browser)", |
| 17 |
"test-node": "tape test.js", |
| 18 |
"test-browser": "zuul --no-coverage -- test.js", |
| 19 |
"test-browser-local": "zuul --local 8080 --no-coverage -- test.js" |
| 20 |
}, |
| 21 |
"repository": { |
| 22 |
"type": "git", |
| 23 |
"url": "git://github.com/jhiesey/to-arraybuffer.git" |
| 24 |
}, |
| 25 |
"keywords": [ |
| 26 |
"buffer", |
| 27 |
"to", |
| 28 |
"arraybuffer", |
| 29 |
"fast", |
| 30 |
"read", |
| 31 |
"only" |
| 32 |
], |
| 33 |
"author": { |
| 34 |
"name": "John Hiesey" |
| 35 |
}, |
| 36 |
"license": "MIT", |
| 37 |
"bugs": { |
| 38 |
"url": "https://github.com/jhiesey/to-arraybuffer/issues" |
| 39 |
}, |
| 40 |
"homepage": "https://github.com/jhiesey/to-arraybuffer#readme", |
| 41 |
"devDependencies": { |
| 42 |
"tape": "^4.4.0", |
| 43 |
"zuul": "^3.9.0" |
| 44 |
}, |
| 45 |
"gitHead": "6502d9850e70ba7935a7df4ad86b358fc216f9f0", |
| 46 |
"_id": "[email protected]", |
| 47 |
"_shasum": "7d229b1fcc637e466ca081180836a7aabff83f43", |
| 48 |
"_from": ".", |
| 49 |
"_npmVersion": "3.3.12", |
| 50 |
"_nodeVersion": "5.3.0", |
| 51 |
"_npmUser": { |
| 52 |
"name": "jhiesey", |
| 53 |
"email": "[email protected]" |
| 54 |
}, |
| 55 |
"dist": { |
| 56 |
"shasum": "7d229b1fcc637e466ca081180836a7aabff83f43", |
| 57 |
"tarball": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz" |
| 58 |
}, |
| 59 |
"maintainers": [ |
| 60 |
{ |
| 61 |
"name": "jhiesey", |
| 62 |
"email": "[email protected]" |
| 63 |
} |
| 64 |
], |
| 65 |
"directories": {} |
| 66 |
} |
| 67 |
}, |
| 68 |
"readme": "# to-arraybuffer [](https://travis-ci.org/jhiesey/to-arraybuffer)\n\n[](https://saucelabs.com/u/to-arraybuffer)\n\nConvert from a Buffer to an ArrayBuffer as fast as possible.\n\nNote that in some cases the returned ArrayBuffer is backed by the same memory as the original\nBuffer (but in other cases it is a copy), so **modifying the ArrayBuffer is not recommended**.\n\nThis module is designed to work both in node.js and in all browsers with ArrayBuffer support\nwhen using [the Buffer implementation provided by Browserify](https://www.npmjs.com/package/buffer).\n\n## Usage\n\n``` js\nvar toArrayBuffer = require('to-arraybuffer')\n\nvar buffer = new Buffer(100)\n// Fill the buffer with some data\n\nvar ab = toArrayBuffer(buffer)\n// `ab` now contains the same data as `buffer`\n```\n\n## License\n\nMIT", |
| 69 |
"maintainers": [ |
| 70 |
{ |
| 71 |
"name": "jhiesey", |
| 72 |
"email": "[email protected]" |
| 73 |
} |
| 74 |
], |
| 75 |
"time": { |
| 76 |
"modified": "2016-01-13T04:35:30.645Z", |
| 77 |
"created": "2016-01-13T04:35:30.645Z", |
| 78 |
"1.0.1": "2016-01-13T04:35:30.645Z" |
| 79 |
}, |
| 80 |
"homepage": "https://github.com/jhiesey/to-arraybuffer#readme", |
| 81 |
"keywords": [ |
| 82 |
"buffer", |
| 83 |
"to", |
| 84 |
"arraybuffer", |
| 85 |
"fast", |
| 86 |
"read", |
| 87 |
"only" |
| 88 |
], |
| 89 |
"repository": { |
| 90 |
"type": "git", |
| 91 |
"url": "git://github.com/jhiesey/to-arraybuffer.git" |
| 92 |
}, |
| 93 |
"author": { |
| 94 |
"name": "John Hiesey" |
| 95 |
}, |
| 96 |
"bugs": { |
| 97 |
"url": "https://github.com/jhiesey/to-arraybuffer/issues" |
| 98 |
}, |
| 99 |
"license": "MIT", |
| 100 |
"readmeFilename": "README.md", |
| 101 |
"_attachments": {} |
| 102 |
} |