UNPKG

pesapal-node-sdk

Version:

Node.js SDK for integrating with Pesapal payment gateway. Provides a simple interface for processing payments, checking status, and handling callbacks.

54 lines (53 loc) 1.48 kB
{ "name": "pesapal-node-sdk", "version": "1.0.4", "description": "Node.js SDK for integrating with Pesapal payment gateway. Provides a simple interface for processing payments, checking status, and handling callbacks.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "homepage": "https://github.com/otim-otim/pesapal-node-sdk", "repository": { "type": "git", "url": "https://github.com/otim-otim/pesapal-node-sdk.git" }, "scripts": { "build": "tsc", "test": "jest", "lint": "eslint src --ext .ts", "format": "prettier --write \"src/**/*.ts\"", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "keywords": [ "pesapal", "payment", "api", "typescript", "sdk" ], "author": "Otim Isaac", "email": "otim.idb@gmail.com", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^20.19.7", "@typescript-eslint/eslint-plugin": "^8.36.0", "@typescript-eslint/parser": "^8.36.0", "eslint": "^8.46.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-prettier": "^5.5.1", "jest": "^29.7.0", "prettier": "^3.0.0", "ts-jest": "^29.4.0", "typescript": "^5.8.3" }, "dependencies": { "axios": "^1.10.0", "dotenv": "^17.2.0" } }