ofexios
Version:
unjs/ofetch based HTTP client with similar API to axios for browser and Node.js
95 lines (94 loc) • 2.13 kB
JSON
{
"name": "ofexios",
"version": "0.2.1",
"description": "unjs/ofetch based HTTP client with similar API to axios for browser and Node.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"browser": "./dist/browser.mjs",
"module": "./dist/index.mjs",
"type": "module",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/browser.mjs",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./browser": {
"types": "./dist/browser.d.mts",
"default": "./dist/browser.mjs"
}
},
"scripts": {
"prepack": "bunx unbuild",
"build": "bunx unbuild",
"clean": "rmz -f dist lib",
"test": "bun run test:types && vitest run ./test",
"test:types": "tsc --noEmit --skipLibCheck",
"review": "vite preview --outDir ./.test_reports"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"fetch",
"ofetch",
"ajax",
"http",
"promise",
"hookable",
"node",
"browser",
"axios"
],
"author": "CyanChanges <contact@cyans.me>",
"contributors": [
{
"name": "dragon-fish",
"email": "dragon-fish@qq.com",
"url": "https://github.com/dragon-fish"
},
{
"name": "CyanChanges",
"email": "contact@cyans.me",
"url": "https://cyans.me/"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/CyanChanges/ofexios.git"
},
"bugs": {
"url": "https://github.com/CyanChanges/ofexios/issues"
},
"homepage": "https://github.com/CyanChanges/fexios#readme",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"devDependencies": {
"@rollup/plugin-swc": "^0.4.0",
"@rollup/plugin-virtual": "^3.0.2",
"@swc/core": "^1.11.13",
"@types/node": "^22.13.14",
"@vitest/coverage-v8": "^3.1.1",
"@vitest/ui": "^3.1.1",
"@web-std/file": "^3.0.3",
"dotenv": "^16.4.7",
"eventsource": "^3.0.6",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"unbuild": "^3.5.0",
"vitest": "^3.1.1"
},
"dependencies": {
"callable-instance": "^2.0.0",
"cosmokit": "^1.8.0",
"destr": "^2.0.3",
"ofetch": "^1.4.1",
"tslib": "^2.8.1"
}
}