UNPKG

resilience-typescript

Version:

resilience-typescript is a Typescript resilience and transient-fault-handling library that allows developers to add components like Timeout, Retry, Circuit Breaker, Cache, Token Cache to outgoing HTTP(S) calls, built on top of the Axios library with a flu

61 lines (60 loc) 2.21 kB
{ "name": "resilience-typescript", "version": "3.1.0", "description": "resilience-typescript is a Typescript resilience and transient-fault-handling library that allows developers to add components like Timeout, Retry, Circuit Breaker, Cache, Token Cache to outgoing HTTP(S) calls, built on top of the Axios library with a fluent language. Primarly designed for backend service to service communication.", "keywords": [ "Resilience", "Resilient", "Timeout", "Retry", "Token Cache", "Circuit Breaker", "Cache", "TypeScript", "Axios", "Fluent Language" ], "homepage": "https://github.com/humppa123/resilience-typescript", "bugs": "https://github.com/humppa123/resilience-typescript/issues", "license": "MIT", "author": "Fabian Schwarz", "main": "index.ts", "repository": { "type": "git", "url": "https://github.com/humppa123/resilience-typescript" }, "funding": { "url": "https://www.buymeacoffee.com/humppa123" }, "scripts": { "build": "node_modules/.bin/tsc", "test": "node_modules/.bin/_mocha \"dist/**/*.spec.js\" --reporter=mocha-multi-reporters --reporter-options configFile=reporter-config.json", "build-test": "npm run build && npm run test", "copy-readme": "copy ..\\..\\README.md .\\README.md /Y", "copy-package": "copy package.json dist\\package.json /Y", "remove-dist": "( rmdir/Q/S .\\dist || echo done)", "dist": "npm run remove-dist && npm run build-test && npm run copy-package && cd dist && npm run copy-readme && npm publish", "check": "gts check" }, "dependencies": { "applicationinsights": "^1.8.8", "axios": "^0.21.1", "guid-typescript": "^1.0.9", "querystring": "^0.2.0" }, "devDependencies": { "@types/chai": "^4.2.14", "@types/chai-as-promised": "^7.1.3", "@types/mocha": "^8.2.0", "@types/node": "^14.14.20", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "mocha": "^8.2.1", "mocha-junit-reporter": "^2.0.0", "mocha-multi-reporters": "^1.5.1", "tslint": "^5.20.1", "typemoq": "^2.1.0", "typescript": "~4.1.3", "gts": "^3.0.3" } }