betfair-node
Version:
A comprehensive Node.js TypeScript library for the Betfair Exchange API, providing both JSON-RPC API integration and real-time Exchange Stream API support for automated betting and trading applications.
93 lines (92 loc) • 2.95 kB
JSON
{
"name": "betfair-node",
"version": "1.2.0",
"description": "A comprehensive Node.js TypeScript library for the Betfair Exchange API, providing both JSON-RPC API integration and real-time Exchange Stream API support for automated betting and trading applications.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build": "tsc",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"test": "jest",
"test:backtest": "jest backtesting.test.ts",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write src/**/*.ts tests/**/*.ts",
"format:check": "prettier --check src/**/*.ts tests/**/*.ts",
"example": "ts-node example/example.ts",
"example:greyhounds": "ts-node examples/greyhound-markets.ts",
"example:bet": "ts-node examples/place-bet.ts",
"example:live": "ts-node examples/live-trading-view.ts",
"example:recorder": "ts-node examples/market-recorder-example.ts",
"example:recorder-simple": "ts-node examples/simple-market-recorder.ts",
"example:recorder-perpetual": "ts-node examples/perpetual-greyhound-recorder.ts",
"example:single-market": "ts-node examples/single-market-recorder.ts",
"example:backtest": "ts-node examples/simple-backtest.ts",
"example:backtest-verbose": "ts-node examples/historical-data-backtest.ts",
"example:orders": "ts-node examples/order-stream-example.ts",
"prepack": "npm run build",
"clean": "rimraf dist coverage"
},
"keywords": [
"betfair",
"betfair-api",
"exchange-stream",
"betting",
"trading",
"gambling",
"sports-betting",
"horse-racing",
"greyhound-racing",
"automated-trading",
"typescript",
"nodejs",
"json-rpc",
"websocket",
"real-time",
"market-data"
],
"author": {
"name": "Felix McCuaig",
"email": "felixmccuaig@gmail.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/felixmccuaig/betfair-node.git"
},
"homepage": "https://github.com/felixmccuaig/betfair-node#readme",
"bugs": {
"url": "https://github.com/felixmccuaig/betfair-node/issues"
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"axios": "^1.6.2",
"dotenv": "^17.2.1",
"uuid": "^9.0.1",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/dotenv": "^6.1.1",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.2.2"
}
}