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

96 lines (95 loc) 2.6 kB
{ "name": "response-iterator", "version": "1.0.10", "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", "source": "src/index.ts", "types": "dist/cjs/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsds build", "docs": "tsds docs", "format": "tsds format", "prepublishOnly": "tsds validate", "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 tsds test:node --no-timeouts \"test/**/*.test.*\" && tsds test:node --no-timeouts \"test/**/*.test-node.*\" && npm run test:browser", "test:node": "tsds test:node --no-timeouts \"test/**/*.test.*\" && tsds test:node --no-timeouts \"test/**/*.test-node.*\"", "version": "tsds version" }, "devDependencies": { "@types/mocha": "^10.0.10", "@types/node": "^25.0.1", "@web/dev-server-import-maps": "^0.2.1", "axios": "^1.13.2", "cross-fetch": "^4.1.0", "get-remote": "^2.3.2", "isomorphic-fetch": "^3.0.0", "node-fetch": "^3.3.2", "node-version-use": "^2.1.5", "pinkie-promise": "^2.0.1", "readable-stream": "^2.3.8", "ts-dev-stack": "^1.21.3", "tsds-config": "^0.2.1", "tsds-web-test-runner": "^1.19.4", "undici": "^7.16.0" }, "engines": { "node": ">=0.8" }, "tsds": { "targets": [ "cjs", "esm", "umd" ] } }