oauth-fetch
Version:
A lightweight HTTP client built on top of the native fetch API, designed to simplify making requests to both public and OAuth-protected resources (Bearer and DPoP).
75 lines (74 loc) • 1.96 kB
JSON
{
"name": "oauth-fetch",
"version": "1.0.51",
"description": "A lightweight HTTP client built on top of the native fetch API, designed to simplify making requests to both public and OAuth-protected resources (Bearer and DPoP).",
"author": "Jacobo Vidal",
"license": "MIT",
"type": "module",
"homepage": "https://oauth-fetch.oauthlabs.com",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"clean": "rm -rf ./dist",
"docs": "typedoc",
"lint": "eslint \"./**/*.ts*\"",
"format": "prettier --write \"./src/**/*.{ts,tsx,js,jsx,json,md}\"",
"test": "vitest run",
"test:ci": "vitest --watch false --coverage",
"stats": "esbuild-visualizer --metadata ./dist/metafile-esm.json --open",
"prepublishOnly": "npm run clean && npm run lint && npm run format && npm run test && npm run build"
},
"devDependencies": {
"@eslint/js": "^9.20.0",
"@vitest/coverage-v8": "^3.0.6",
"esbuild-visualizer": "^0.7.0",
"eslint": "^9.20.1",
"msw": "^2.8.2",
"prettier": "^3.5.3",
"tsup": "^8.4.0",
"typedoc": "^0.28.4",
"typedoc-plugin-markdown": "^4.6.3",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.0",
"vitest": "^3.0.5"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jacobovidal/oauth-fetch.git",
"directory": "packages/oauth-fetch"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"fetch",
"dpop",
"oauth",
"auth0",
"bearer",
"typescript",
"api",
"request",
"javascript",
"oidc",
"access token",
"auth",
"authentication",
"jwt",
"openid"
]
}