UNPKG

keep-trying

Version:

A function for creating retryable promises with configurable limit and backoff.

39 lines (38 loc) 1.03 kB
{ "name": "keep-trying", "version": "2.0.2", "description": "A function for creating retryable promises with configurable limit and backoff.", "public": true, "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "TS_NODE_PROJECT='test/tsconfig.json' mocha --require ts-node/register --project test/tsconfig.json 'test/**/*.spec.ts'", "prepare": "npm run build", "prepublishOnly": "npm test" }, "repository": { "type": "git", "url": "git+https://github.com/machuga/keep-trying.git" }, "keywords": [ "promise", "retry", "retryable" ], "author": "Matthew Machuga", "license": "MIT", "bugs": { "url": "https://github.com/machuga/keep-trying/issues" }, "homepage": "https://github.com/machuga/keep-trying#readme", "devDependencies": { "@types/chai": "^4.1.5", "@types/mocha": "^5.2.5", "@types/node": "^10.10.3", "chai": "^4.1.2", "mocha": "^5.2.0", "ts-node": "^7.0.1", "typescript": "^3.1" } }