UNPKG

response-iterator

Version:

Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch

93 lines (92 loc) 2.35 kB
{ "name": "response-iterator", "version": "0.2.23", "description": "Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch", "keywords": [ "Symbol", "Symbol.asyncIterator", "array", "arrayBuffer", "asyncIterator", "axios", "blob", "body", "browser", "cross-fetch", "fetch", "got", "isomorphic-fetch", "iteration", "iterator", "node", "node-fetch", "response", "stream", "typescript", "undici" ], "homepage": "https://github.com/kmalakoff/response-iterator#README.md", "bugs": { "url": "https://github.com/kmalakoff/response-iterator/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/kmalakoff/response-iterator.git" }, "license": "MIT", "author": { "name": "Kevin Malakoff", "email": "kmalakoff@gmail.com", "url": "https://github.com/kmalakoff" }, "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./package.json": "./package.json", "./umd": "./dist/umd/response-iterator.cjs" }, "main": "dist/cjs/index.js", "types": "dist/cjs/index.d.cts", "files": [ "dist" ], "scripts": { "build": "tsds build", "deploy": "tsds deploy", "docs": "tsds docs", "format": "biome check --write --unsafe src/ test/", "test": "npm run test:node && npm run test:browser", "test:browser": "tsds test:browser --config wtr.config.mjs && tsds test:browser --config wtr.config.mjs \"test/**/*.test-browser.*\"", "test:engines": "nvu engines npm run test:node && npm run test:browser", "test:node": "tsds test:node --no-timeouts && tsds test:node --no-timeouts \"test/**/*.test-node.*\"", "version": "tsds version" }, "devDependencies": { "@types/mocha": "*", "@types/node": "*", "@web/dev-server-import-maps": "*", "axios": "*", "cross-fetch": "*", "get-remote": "*", "isomorphic-fetch": "*", "node-fetch": "*", "pinkie-promise": "*", "readable-stream": "^2.3.8", "tsds-web-test-runner": "*", "undici": "*" }, "engines": { "node": ">=0.8" }, "tsds": { "source": "src/index.ts", "targets": [ "cjs", "esm", "umd" ] } }