package.json
3.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"_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"
},
"D:\\100-Projects\\100-AIAHTML5\\400-SOURCECODE\\AIAHTML5.Admin\\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": "D:\\100-Projects\\100-AIAHTML5\\400-SOURCECODE\\AIAHTML5.Admin\\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 [](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",
"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"
}