{"name":"ofetch","version":"1.5.1","description":"A better fetch API. Works on node, browser and workers.","repository":{"type":"git","url":"git+https://github.com/unjs/ofetch.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{"./package.json":"./package.json",".":{"browser":"./dist/index.mjs","bun":"./dist/index.mjs","deno":"./dist/index.mjs","edge-light":"./dist/index.mjs","edge-routine":"./dist/index.mjs","netlify":"./dist/index.mjs","react-native":"./dist/index.mjs","wintercg":"./dist/index.mjs","worker":"./dist/index.mjs","workerd":"./dist/index.mjs","node":{"import":{"types":"./dist/node.d.mts","default":"./dist/node.mjs"},"require":{"types":"./dist/node.d.cts","default":"./dist/node.cjs"}},"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/node.d.cts","default":"./dist/node.cjs"},"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./node":{"import":{"types":"./dist/node.d.mts","default":"./dist/node.mjs"},"require":{"types":"./dist/node.d.cts","default":"./dist/node.cjs"}}},"main":"./dist/node.cjs","module":"./dist/index.mjs","react-native":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"unbuild","dev":"vitest","lint":"eslint . && prettier -c src test playground examples","lint:fix":"eslint --fix . && prettier -w src test playground examples","prepack":"pnpm build","play":"jiti playground/index.ts","release":"pnpm test && changelogen --release --publish","test":"pnpm lint && vitest run --coverage"},"dependencies":{"destr":"^2.0.5","node-fetch-native":"^1.6.7","ufo":"^1.6.1"},"devDependencies":{"@types/node":"^24.9.1","@vitest/coverage-v8":"^4.0.4","changelogen":"^0.6.2","eslint":"^9.38.0","eslint-config-unjs":"^0.5.0","fetch-blob":"^4.0.0","formdata-polyfill":"^4.0.10","h3":"^1.15.4","jiti":"^2.6.1","listhen":"^1.9.0","prettier":"^3.6.2","std-env":"^3.10.0","typescript":"^5.9.3","unbuild":"^3.6.1","undici":"^7.16.0","vitest":"^4.0.4"},"packageManager":"pnpm@10.19.0","_id":"ofetch@1.5.1","gitHead":"cd3ed5ab1d50da02a5680645a5633e33d52b0333","bugs":{"url":"https://github.com/unjs/ofetch/issues"},"homepage":"https://github.com/unjs/ofetch#readme","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"shasum":"5c43cc56e03398b273014957060344254505c5c7","size":16809,"noattachment":false,"key":"/ofetch/-/ofetch-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ofetch/download/ofetch-1.5.1.tgz"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pooya@pi0.ir"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ofetch_1.5.1_1761986831454_0.4014183427964728"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-01T08:47:11.642Z","publish_time":1761986831642,"_source_registry_name":"default","_cnpm_publish_time":1761986831642,"dist-tags":{"alpha":"2.0.0-alpha.3","latest":"1.5.1"}}