Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/is-stream.json

raw
1 {
2 "_id": "is-stream",
3 "_rev": "11-c2e98b5f0708cf18aa0f4cb453e8c824",
4 "name": "is-stream",
5 "description": "Check if something is a Node.js stream",
6 "dist-tags": {
7 "latest": "2.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "is-stream",
12 "version": "1.0.0",
13 "description": "Check if something is a Node.js stream",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/sindresorhus/is-stream"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "sindresorhus.com"
23 },
24 "engines": {
25 "node": ">=0.10.0"
26 },
27 "scripts": {
28 "test": "node test.js"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "stream",
35 "streams",
36 "writable",
37 "readable",
38 "duplex",
39 "check",
40 "detect",
41 "is",
42 "type"
43 ],
44 "devDependencies": {
45 "ava": "0.0.4",
46 "tempfile": "^1.1.0"
47 },
48 "gitHead": "a5327fd78cff686b4a9e32e676e179b620fa748b",
49 "bugs": {
50 "url": "https://github.com/sindresorhus/is-stream/issues"
51 },
52 "homepage": "https://github.com/sindresorhus/is-stream",
53 "_id": "[email protected]",
54 "_shasum": "aa0ce914e0e917064222acf7ddf6140d718865d7",
55 "_from": ".",
56 "_npmVersion": "1.4.28",
57 "_npmUser": {
58 "name": "sindresorhus",
59 "email": "[email protected]"
60 },
61 "maintainers": [
62 {
63 "name": "sindresorhus",
64 "email": "[email protected]"
65 }
66 ],
67 "dist": {
68 "shasum": "aa0ce914e0e917064222acf7ddf6140d718865d7",
69 "tarball": "https://registry.npmjs.org/is-stream/-/is-stream-1.0.0.tgz"
70 },
71 "directories": {}
72 },
73 "1.0.1": {
74 "name": "is-stream",
75 "version": "1.0.1",
76 "description": "Check if something is a Node.js stream",
77 "license": "MIT",
78 "repository": {
79 "type": "git",
80 "url": "https://github.com/sindresorhus/is-stream"
81 },
82 "author": {
83 "name": "Sindre Sorhus",
84 "email": "[email protected]",
85 "url": "sindresorhus.com"
86 },
87 "engines": {
88 "node": ">=0.10.0"
89 },
90 "scripts": {
91 "test": "node test.js"
92 },
93 "files": [
94 "index.js"
95 ],
96 "keywords": [
97 "stream",
98 "streams",
99 "writable",
100 "readable",
101 "duplex",
102 "check",
103 "detect",
104 "is",
105 "type"
106 ],
107 "devDependencies": {
108 "ava": "0.0.4",
109 "tempfile": "^1.1.0"
110 },
111 "gitHead": "424a6904c768f5f446fbc36c03a31be8b1209ca6",
112 "bugs": {
113 "url": "https://github.com/sindresorhus/is-stream/issues"
114 },
115 "homepage": "https://github.com/sindresorhus/is-stream",
116 "_id": "[email protected]",
117 "_shasum": "b44ce45b1f0c3df583f6b5debf84dcf9743ac8b5",
118 "_from": ".",
119 "_npmVersion": "1.4.28",
120 "_npmUser": {
121 "name": "sindresorhus",
122 "email": "[email protected]"
123 },
124 "maintainers": [
125 {
126 "name": "sindresorhus",
127 "email": "[email protected]"
128 }
129 ],
130 "dist": {
131 "shasum": "b44ce45b1f0c3df583f6b5debf84dcf9743ac8b5",
132 "tarball": "https://registry.npmjs.org/is-stream/-/is-stream-1.0.1.tgz"
133 },
134 "directories": {}
135 },
136 "1.1.0": {
137 "name": "is-stream",
138 "version": "1.1.0",
139 "description": "Check if something is a Node.js stream",
140 "license": "MIT",
141 "repository": {
142 "type": "git",
143 "url": "git+https://github.com/sindresorhus/is-stream.git"
144 },
145 "author": {
146 "name": "Sindre Sorhus",
147 "email": "[email protected]",
148 "url": "sindresorhus.com"
149 },
150 "engines": {
151 "node": ">=0.10.0"
152 },
153 "scripts": {
154 "test": "xo && ava"
155 },
156 "files": [
157 "index.js"
158 ],
159 "keywords": [
160 "stream",
161 "type",
162 "streams",
163 "writable",
164 "readable",
165 "duplex",
166 "transform",
167 "check",
168 "detect",
169 "is"
170 ],
171 "devDependencies": {
172 "ava": "*",
173 "tempfile": "^1.1.0",
174 "xo": "*"
175 },
176 "gitHead": "e21d73f1028c189d16150cea52641059b0936310",
177 "bugs": {
178 "url": "https://github.com/sindresorhus/is-stream/issues"
179 },
180 "homepage": "https://github.com/sindresorhus/is-stream#readme",
181 "_id": "[email protected]",
182 "_shasum": "12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44",
183 "_from": ".",
184 "_npmVersion": "2.15.0",
185 "_nodeVersion": "4.4.2",
186 "_npmUser": {
187 "name": "sindresorhus",
188 "email": "[email protected]"
189 },
190 "dist": {
191 "shasum": "12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44",
192 "tarball": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz"
193 },
194 "maintainers": [
195 {
196 "name": "sindresorhus",
197 "email": "[email protected]"
198 }
199 ],
200 "_npmOperationalInternal": {
201 "host": "packages-12-west.internal.npmjs.com",
202 "tmp": "tmp/is-stream-1.1.0.tgz_1460446915184_0.806101513793692"
203 },
204 "directories": {}
205 },
206 "2.0.0": {
207 "name": "is-stream",
208 "version": "2.0.0",
209 "description": "Check if something is a Node.js stream",
210 "license": "MIT",
211 "repository": {
212 "type": "git",
213 "url": "git+https://github.com/sindresorhus/is-stream.git"
214 },
215 "author": {
216 "name": "Sindre Sorhus",
217 "email": "[email protected]",
218 "url": "sindresorhus.com"
219 },
220 "engines": {
221 "node": ">=8"
222 },
223 "scripts": {
224 "test": "xo && ava && tsd"
225 },
226 "keywords": [
227 "stream",
228 "type",
229 "streams",
230 "writable",
231 "readable",
232 "duplex",
233 "transform",
234 "check",
235 "detect",
236 "is"
237 ],
238 "devDependencies": {
239 "@types/node": "^11.13.6",
240 "ava": "^1.4.1",
241 "tempy": "^0.3.0",
242 "tsd": "^0.7.2",
243 "xo": "^0.24.0"
244 },
245 "gitHead": "1a70a7f985a00bf25de8437e68c849bf0e434bfb",
246 "bugs": {
247 "url": "https://github.com/sindresorhus/is-stream/issues"
248 },
249 "homepage": "https://github.com/sindresorhus/is-stream#readme",
250 "_id": "[email protected]",
251 "_nodeVersion": "8.16.0",
252 "_npmVersion": "6.9.0",
253 "_npmUser": {
254 "name": "sindresorhus",
255 "email": "[email protected]"
256 },
257 "dist": {
258 "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==",
259 "shasum": "bde9c32680d6fae04129d6ac9d921ce7815f78e3",
260 "tarball": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
261 "fileCount": 5,
262 "unpackedSize": 5691,
263 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcu1CuCRA9TVsSAnZWagAApkwP/1LBH7WhFysLIo7y37ZT\nZWM6y/PcOCxrRAAM8qFNv9VQEGVEtjJLZBJNBuqGpGIsfctYn5cViUF1ZQNQ\nL5rEzvJBy8aNzKRNmQf/itbBGRkC75NMWCZISPPM3XxgvP2o6Bnw7P2Nu0if\n75j93Hqg4GcYFQjV9rCYagSdxJEPEIDI6d8PH2Tgdwj+581X0aNx90oEu6vU\nk33vTvMbhcsuc+19W/Asr5BpHJ2foNcTLTN1QvLCKkE1sZfCQ42EEvTmp600\n875RGh8GbId9D8kpK94pulnog1ARRpkLpvJ+ONFw/16p2hoKBLHOxUoSKZY8\nK8RPCkrdC6J2JgIyh1Yhysu0biN6jT9wgwnIcJraIUEkbNHXerCBgug+Fl3I\n4sQ+2IEIoLne+t0oqwJKoQPTgsJSVdPOVzyDps94vhxX3nB+82gOWP6qquQ9\nfTAWcmkB3cRDImlq8uCd2kAtLmXZcG+AyC1pCqA3PIPrdZG+2lWOX38Geqnw\nion1Ws4jI6d+/aJ+hs/DFEeXVvKpc+9cnFbqFKYtFRutmywquZ8mVOgSl6ez\nnV282upQ8cMpU4txk7R+PDgOz0uhIa2AA+hQ9L863HDsfOwr4CgHYGxZt/AL\nkYUoaAo6MxUdkL7rjePxho1ZDTJtK26k+5Eg+iyD3xDzVyhu2HCxZNPiRWoA\npfkb\r\n=yjey\r\n-----END PGP SIGNATURE-----\r\n"
264 },
265 "maintainers": [
266 {
267 "name": "sindresorhus",
268 "email": "[email protected]"
269 }
270 ],
271 "directories": {},
272 "_npmOperationalInternal": {
273 "host": "s3://npm-registry-packages",
274 "tmp": "tmp/is-stream_2.0.0_1555779757689_0.1309729016157941"
275 },
276 "_hasShrinkwrap": false
277 }
278 },
279 "readme": "# is-stream [![Build Status](https://travis-ci.org/sindresorhus/is-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/is-stream)\n\n> Check if something is a [Node.js stream](https://nodejs.org/api/stream.html)\n\n\n## Install\n\n```\n$ npm install is-stream\n```\n\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst isStream = require('is-stream');\n\nisStream(fs.createReadStream('unicorn.png'));\n//=> true\n\nisStream({});\n//=> false\n```\n\n\n## API\n\n### isStream(stream)\n\nReturns a `boolean` for whether it's a [`Stream`](https://nodejs.org/api/stream.html#stream_stream).\n\n#### isStream.writable(stream)\n\nReturns a `boolean` for whether it's a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable).\n\n#### isStream.readable(stream)\n\nReturns a `boolean` for whether it's a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable).\n\n#### isStream.duplex(stream)\n\nReturns a `boolean` for whether it's a [`stream.Duplex`](https://nodejs.org/api/stream.html#stream_class_stream_duplex).\n\n#### isStream.transform(stream)\n\nReturns a `boolean` for whether it's a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform).\n\n\n## Related\n\n- [is-file-stream](https://github.com/jamestalmage/is-file-stream) - Detect if a stream is a file stream\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
280 "maintainers": [
281 {
282 "name": "sindresorhus",
283 "email": "[email protected]"
284 }
285 ],
286 "time": {
287 "modified": "2019-04-20T17:02:40.694Z",
288 "created": "2015-01-18T18:59:27.432Z",
289 "1.0.0": "2015-01-18T18:59:27.432Z",
290 "1.0.1": "2015-01-19T12:39:43.945Z",
291 "1.1.0": "2016-04-12T07:41:55.666Z",
292 "2.0.0": "2019-04-20T17:02:37.870Z"
293 },
294 "homepage": "https://github.com/sindresorhus/is-stream#readme",
295 "keywords": [
296 "stream",
297 "type",
298 "streams",
299 "writable",
300 "readable",
301 "duplex",
302 "transform",
303 "check",
304 "detect",
305 "is"
306 ],
307 "repository": {
308 "type": "git",
309 "url": "git+https://github.com/sindresorhus/is-stream.git"
310 },
311 "author": {
312 "name": "Sindre Sorhus",
313 "email": "[email protected]",
314 "url": "sindresorhus.com"
315 },
316 "bugs": {
317 "url": "https://github.com/sindresorhus/is-stream/issues"
318 },
319 "license": "MIT",
320 "readmeFilename": "readme.md",
321 "users": {
322 "waynedpj": true,
323 "monjer": true,
324 "rocket0191": true,
325 "nicknaso": true,
326 "zhenguo.zhao": true
327 }
328 }