@cooperwfloyd/fancyfetch
Version:
A simple, lightweight and isomorphic extension of the Fetch API that allows for graceful error handling and response validation, automatic retries, and the ability to bring your own Fetch API package.
111 lines (110 loc) • 2.78 kB
JSON
{
"name": "@cooperwfloyd/fancyfetch",
"version": "1.4.2",
"license": "ISC",
"main": "dist/index.js",
"types": "dist/types/fancyfetch/index.d.ts",
"engines": {
"node": ">=16.15.0 <21",
"npm": ">=8.5.5 <10"
},
"repository": {
"type": "git",
"url": "https://github.com/cooperwfloyd/fancyfetch"
},
"homepage": "https://github.com/cooperwfloyd/fancyfetch#readme",
"bugs": {
"url": "https://github.com/cooperwfloyd/fancyfetch/issues"
},
"author": {
"name": "Cooper Floyd",
"url": "https://github.com/cooperwfloyd"
},
"contributors": [
{
"name": "Cooper Floyd",
"url": "https://github.com/cooperwfloyd"
}
],
"dependencies": {
"@types/node": "^20.3.0"
},
"devDependencies": {
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.46",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@typescript-eslint/typescript-estree": "^5.57.1",
"copyfiles": "^2.4.1",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"nodemon": "^2.0.22",
"prettier": "^2.8.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.3"
},
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "rm -rf ./dist && npm run test && npm run prettier",
"compile": "swc ./src/* --out-dir ./dist && npm run copyTypes",
"copyTypes": "copyfiles -u 1 \"src/*.d.ts\" \"src/**/*.d.ts\" \"dist\"",
"prepublishOnly": "npm i && npm run build",
"prepare": "husky install",
"prettier": "npx prettier --write .",
"test": "npx eslint \"./src/**/*.ts\" \"./src/*.ts\" --max-warnings=0 --fix"
},
"description": "A simple, lightweight and isomorphic extension of the Fetch API that allows for graceful error handling and response validation, automatic retries, and the ability to bring your own Fetch API package.",
"keywords": [
"fetch",
"client",
"browser",
"server",
"client-side",
"server-side",
"async",
"await",
"validate",
"validator",
"validation",
"response",
"request",
"API",
"isomorphic",
"isomorphic-fetch",
"node",
"node-fetch",
"auto",
"automatic",
"retry",
"retries",
"attempt",
"delay",
"graceful",
"error",
"try",
"catch",
"url",
"flexible",
"simple",
"lightweight",
"light",
"extensible",
"extend",
"swc",
"whatwg",
"browserify",
"promise",
"http",
"https",
"es6",
"2022",
"2023",
"esnext"
]
}