UNPKG

nestjs-http-promise

Version:

promise implementation of nestjs http module with retries feature using axios-retry and axios

68 lines (67 loc) 1.82 kB
{ "name": "nestjs-http-promise", "version": "4.0.0", "keywords": [ "nestjs", "http", "promise", "retry", "retries", "axios" ], "description": "promise implementation of nestjs http module with retries feature using axios-retry and axios", "author": "Ben Hason", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "url": "https://github.com/benhason1/nestjs-http-promise#readme", "scripts": { "build": "rimraf -rf dist && tsc -p tsconfig.json", "format": "prettier --write \"lib/**/*.ts\"", "lint": "eslint 'lib/**/*.ts' --fix", "prepare": "npm run build", "prepublish:npm": "npm run build", "publish:npm": "npm publish --access public", "publish:beta": "npm publish --access public --tag beta", "prepublish:beta": "npm run build" }, "dependencies": { "axios-retry": "^4.5.0" }, "devDependencies": { "@nestjs/common": "^11.0.7", "@nestjs/core": "^11.0.7", "@nestjs/platform-express": "^11.0.7", "@types/node": "^22.13.0", "@typescript-eslint/eslint-plugin": "^8.22.0", "@typescript-eslint/parser": "^8.22.0", "eslint": "^9.19.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-import": "^2.31.0", "husky": "^9.1.7", "lint-staged": "^15.4.3", "prettier": "^3.4.2", "reflect-metadata": "^0.2.2", "rimraf": "^6.0.1", "typescript": "^5.7.3" }, "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "reflect-metadata": "^0.2.2", "axios": "^1.4.0" }, "lint-staged": { "*.ts": [ "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "repository": { "type": "git", "url": "https://github.com/benhason1/nestjs-http-promise" } }