{ "name": "@remix-run/web-fetch", "version": "4.4.2", "description": "Web API compatible fetch implementation", "main": "./dist/lib.node.cjs", "module": "./src/lib.node.js", "types": "./dist/src/lib.node.d.ts", "sideEffects": false, "type": "module", "exports": { ".": { "types": "./dist/src/lib.node.d.ts", "browser": { "require": "./dist/lib.cjs", "import": "./src/lib.js" }, "require": "./dist/lib.node.cjs", "import": "./src/lib.node.js" }, "./package.json": "./package.json", "./body": { "types": "./dist/src/body.d.ts", "import": "./src/body.js" }, "./src/request.js": { "types": "./dist/src/request.d.ts", "import": "./src/request.js" }, "./src/response.js": { "types": "./dist/src/response.d.ts", "import": "./src/response.js" }, "./src/headers.js": { "types": "./dist/src/headers.d.ts", "import": "./src/headers.js" } }, "files": [ "src", "dist", "License.md", "Readme.md" ], "engines": { "node": "^10.17 || >=12.3" }, "scripts": { "build": "npm run build:cjs && npm run build:types", "test:es": "node --experimental-modules ../../node_modules/c8/bin/c8 --reporter=html --reporter=lcov --reporter=text --check-coverage node --experimental-modules ../../node_modules/mocha/bin/mocha", "test:cjs": "node ./test/commonjs/test-artifact.js", "coverage": "c8 report --reporter=text-lcov | coveralls", "typecheck": "tsc", "build:types": "tsc --build", "build:cjs": "rollup -c", "lint": "xo", "prepare": "npm run build" }, "repository": { "type": "git", "url": "https://github.com/remix-run/web-std-io.git" }, "keywords": [ "fetch", "http", "promise", "request", "curl", "wget", "xhr", "whatwg" ], "author": "David Frank", "license": "MIT", "bugs": { "url": "https://github.com/remix-run/web-std-io/issues" }, "homepage": "https://github.com/remix-run/web-std-io", "devDependencies": { "@types/chai": "^4.3.0", "@types/chai-as-promised": "^7.1.5", "@types/chai-string": "^1.4.2", "@types/mocha": "^9.1.0", "abortcontroller-polyfill": "^1.7.1", "busboy": "^0.3.1", "c8": "^7.3.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "chai-iterator": "^3.0.2", "chai-string": "^1.5.0", "coveralls": "^3.1.0", "delay": "^4.4.0", "form-data": "^3.0.0", "formdata-node": "^2.4.0", "mocha": "^8.1.3", "p-timeout": "^3.2.0", "rollup": "2.47.0", "tsd": "^0.13.1", "typescript": "^4.4.4", "xo": "^0.33.1" }, "dependencies": { "@remix-run/web-blob": "^3.1.0", "@remix-run/web-file": "^3.1.0", "@remix-run/web-form-data": "^3.1.0", "@remix-run/web-stream": "^1.1.0", "@web3-storage/multipart-parser": "^1.0.0", "abort-controller": "^3.0.0", "data-uri-to-buffer": "^3.0.1", "mrmime": "^1.0.0" }, "esm": { "sourceMap": true, "cjs": false }, "tsd": { "cwd": "@types", "compilerOptions": { "target": "esnext", "lib": [ "es2018", "DOM" ], "allowSyntheticDefaultImports": false, "esModuleInterop": false } }, "xo": { "envs": [ "node", "browser" ], "rules": { "complexity": 0, "import/extensions": 0, "import/no-useless-path-segments": 0, "import/no-anonymous-default-export": 0, "unicorn/import-index": 0, "unicorn/no-reduce": 0, "capitalized-comments": 0 }, "ignores": [ "dist", "@types" ], "overrides": [ { "files": "test/**/*.js", "envs": [ "node", "mocha" ], "rules": { "max-nested-callbacks": 0, "no-unused-expressions": 0, "new-cap": 0, "guard-for-in": 0, "unicorn/prevent-abbreviations": 0, "promise/prefer-await-to-then": 0, "ava/no-import-test-files": 0 } }, { "files": "example.js", "rules": { "import/no-extraneous-dependencies": 0 } } ] }, "runkitExampleFilename": "example.js" }