UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

95 lines (94 loc) 3.55 kB
{ "_args": [ [ { "raw": "to-arraybuffer@^1.0.0", "scope": null, "escapedName": "to-arraybuffer", "name": "to-arraybuffer", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\stream-http" ] ], "_from": "to-arraybuffer@>=1.0.0 <2.0.0", "_id": "to-arraybuffer@1.0.1", "_inCache": true, "_location": "/to-arraybuffer", "_nodeVersion": "5.3.0", "_npmUser": { "name": "jhiesey", "email": "john@hiesey.com" }, "_npmVersion": "3.3.12", "_phantomChildren": {}, "_requested": { "raw": "to-arraybuffer@^1.0.0", "scope": null, "escapedName": "to-arraybuffer", "name": "to-arraybuffer", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/stream-http" ], "_resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", "_shasum": "7d229b1fcc637e466ca081180836a7aabff83f43", "_shrinkwrap": null, "_spec": "to-arraybuffer@^1.0.0", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\stream-http", "author": { "name": "John Hiesey" }, "bugs": { "url": "https://github.com/jhiesey/to-arraybuffer/issues" }, "dependencies": {}, "description": "Get an ArrayBuffer from a Buffer as fast as possible", "devDependencies": { "tape": "^4.4.0", "zuul": "^3.9.0" }, "directories": {}, "dist": { "shasum": "7d229b1fcc637e466ca081180836a7aabff83f43", "tarball": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz" }, "gitHead": "6502d9850e70ba7935a7df4ad86b358fc216f9f0", "homepage": "https://github.com/jhiesey/to-arraybuffer#readme", "keywords": [ "buffer", "to", "arraybuffer", "fast", "read", "only" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "jhiesey", "email": "john@hiesey.com" } ], "name": "to-arraybuffer", "optionalDependencies": {}, "readme": "# to-arraybuffer [![Build Status](https://travis-ci.org/jhiesey/to-arraybuffer.svg?branch=master)](https://travis-ci.org/jhiesey/to-arraybuffer)\n\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/to-arraybuffer.svg)](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", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/jhiesey/to-arraybuffer.git" }, "scripts": { "test": "npm run test-node && ([ -n \"${TRAVIS_PULL_REQUEST}\" -a \"${TRAVIS_PULL_REQUEST}\" != 'false' ] || npm run test-browser)", "test-browser": "zuul --no-coverage -- test.js", "test-browser-local": "zuul --local 8080 --no-coverage -- test.js", "test-node": "tape test.js" }, "version": "1.0.1" }