UNPKG

1.21 kBJSONView Raw
1{
2 "name": "get-stream",
3 "version": "9.0.1",
4 "description": "Get a stream as a string, Buffer, ArrayBuffer or array",
5 "license": "MIT",
6 "repository": "sindresorhus/get-stream",
7 "funding": "https://github.com/sponsors/sindresorhus",
8 "author": {
9 "name": "Sindre Sorhus",
10 "email": "sindresorhus@gmail.com",
11 "url": "https://sindresorhus.com"
12 },
13 "type": "module",
14 "exports": {
15 "types": "./source/index.d.ts",
16 "browser": "./source/exports.js",
17 "default": "./source/index.js"
18 },
19 "sideEffects": false,
20 "engines": {
21 "node": ">=18"
22 },
23 "scripts": {
24 "benchmark": "node benchmarks/index.js",
25 "test": "xo && ava && tsd --typings=source/index.d.ts --files=source/index.test-d.ts"
26 },
27 "files": [
28 "source",
29 "!*.test-d.ts"
30 ],
31 "keywords": [
32 "get",
33 "stream",
34 "promise",
35 "concat",
36 "string",
37 "text",
38 "buffer",
39 "read",
40 "data",
41 "consume",
42 "readable",
43 "readablestream",
44 "object",
45 "concat"
46 ],
47 "dependencies": {
48 "@sec-ant/readable-stream": "^0.4.1",
49 "is-stream": "^4.0.1"
50 },
51 "devDependencies": {
52 "@types/node": "^20.8.9",
53 "ava": "^6.1.2",
54 "onetime": "^7.0.0",
55 "precise-now": "^3.0.0",
56 "stream-json": "^1.8.0",
57 "tsd": "^0.29.0",
58 "xo": "^0.58.0"
59 }
60}