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

95 lines (94 loc) 2.41 kB
{ "name": "response-iterator", "version": "0.2.20", "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.mjs", "require": "./dist/cjs/index.cjs", "types": "./dist/types/index.d.ts" }, "./*": "./*" }, "main": "dist/cjs/index.cjs", "unpkg": "dist/umd/response-iterator.cjs", "module": "dist/esm/index.mjs", "types": "dist/types/index.d.ts", "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" ] } }