UNPKG

fexios

Version:

Fetch based HTTP client with similar API to axios for browser and Node.js

77 lines 1.79 kB
{ "name": "fexios", "version": "3.1.0", "description": "Fetch based HTTP client with similar API to axios for browser and Node.js", "main": "./dist/index.cjs", "types": "./dist/index.d.ts", "browser": "./dist/index.umd.cjs", "module": "./dist/index.js", "type": "module", "files": [ "dist", "lib" ], "exports": { ".": { "import": { "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "require": { "require": "./dist/index.cjs", "types": "./dist/index.d.ts" } } }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "keywords": [ "fetch", "ajax", "http", "promise", "hookable", "node", "browser", "axios" ], "author": "dragon-fish <dragon-fish@qq.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/dragon-fish/fexios.git" }, "bugs": { "url": "https://github.com/dragon-fish/fexios/issues" }, "homepage": "https://github.com/dragon-fish/fexios#readme", "engines": { "node": "^16.15.0 || >=18.0.0" }, "devDependencies": { "@types/node": "^22.13.5", "@vitest/coverage-v8": "^3.0.7", "@vitest/ui": "^3.0.7", "@web-std/file": "^3.0.3", "dotenv": "^16.4.7", "eventsource": "^3.0.5", "rimraf": "^6.0.1", "tsx": "^4.19.3", "typescript": "^5.7.3", "vite": "^6.2.0", "vite-plugin-dts": "^4.5.0", "vitest": "^3.0.7" }, "dependencies": { "callable-instance": "^2.0.0", "tslib": "^2.8.1" }, "scripts": { "prepublish": "npm run build", "build": "npm run clean && vite build", "clean": "rimraf dist lib", "test": "vitest run ./test", "review": "vite preview --outDir ./.test_reports" } }