UNPKG

@happy-ts/fetch-t

Version:

Abortable fetch wrapper with the ability to specify the return type.

63 lines (62 loc) 1.79 kB
{ "name": "@happy-ts/fetch-t", "description": "Abortable fetch wrapper with the ability to specify the return type.", "author": "jiang115jie@gmail.com", "license": "GPL-3.0", "version": "1.3.2", "type": "module", "source": "src/mod.ts", "main": "dist/main.cjs", "module": "dist/main.mjs", "types": "dist/types.d.ts", "files": [ "LICENSE", "README.md", "README.cn.md", "package.json", "docs", "src", "dist" ], "sideEffects": false, "scripts": { "check": "pnpm exec tsc --noEmit", "lint": "pnpm exec eslint .", "prebuild": "pnpm dlx rimraf dist && pnpm run check && pnpm run lint", "build": "pnpm exec rollup --config rollup.config.mjs", "pretest": "pnpm dlx rimraf coverage", "test": "deno test -A --coverage && deno coverage coverage && deno coverage coverage --lcov --output=coverage/cov_profile.lcov", "pretest:html": "pnpm run pretest", "test:html": "deno test -A --coverage && deno coverage coverage && deno coverage coverage --html", "predocs": "pnpm dlx rimraf docs", "docs": "pnpm exec typedoc", "prepublishOnly": "pnpm run build" }, "repository": { "type": "git", "url": "git+https://github.com/JiangJie/fetch-t.git" }, "keywords": [ "fetch", "abort", "cancel", "responseType" ], "devDependencies": { "@eslint/js": "^9.9.0", "@types/eslint__js": "^8.42.3", "eslint": "^9.9.0", "rollup": "^4.20.0", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-esbuild": "^6.1.1", "typedoc": "^0.26.5", "typedoc-plugin-markdown": "^4.2.3", "typescript": "^5.5.4", "typescript-eslint": "^8.0.1" }, "dependencies": { "happy-rusty": "^1.5.0", "tiny-invariant": "^1.3.3" }, "packageManager": "pnpm@9.7.0" }