UNPKG

okx-api

Version:

Complete Node.js SDK for OKX's REST APIs and WebSockets, with TypeScript & end-to-end tests

99 lines (98 loc) 2.68 kB
{ "name": "okx-api", "version": "3.0.13", "description": "Complete Node.js SDK for OKX's REST APIs and WebSockets, with TypeScript & end-to-end tests", "scripts": { "test": "jest", "test:public": "jest --testPathIgnorePatterns='.*private.*'", "test:private": "jest --testPathPattern='.*private.*'", "test:watch": "jest --watch", "clean": "rm -rf lib dist", "build": "npm run clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && bash ./postBuild.sh", "build:clean": "npm run clean && npm run build", "build:watch": "npm run clean && tsc --watch", "pack": "webpack --config webpack/webpack.config.js", "lint": "eslint src", "prepublish": "npm run build:clean", "betapublish": "npm publish --tag beta" }, "main": "dist/cjs/index.js", "module": "dist/mjs/index.js", "types": "dist/mjs/index.d.ts", "exports": { ".": { "import": "./dist/mjs/index.js", "require": "./dist/cjs/index.js", "types": "./dist/mjs/index.d.ts" } }, "files": [ "dist/*", "llms.txt" ], "type": "module", "author": "Tiago Siebler (https://github.com/tiagosiebler)", "contributors": [], "dependencies": { "axios": "^1.13.1", "isomorphic-ws": "^5.0.0", "ws": "^8.18.3" }, "devDependencies": { "@types/jest": "^29.5.11", "@types/node": "^22.17.2", "@types/ws": "^8.18.1", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "eslint": "^8.24.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-require-extensions": "^0.1.3", "eslint-plugin-simple-import-sort": "^12.1.1", "jest": "^29.7.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "optionalDependencies": { "source-map-loader": "^4.0.0", "ts-loader": "^9.5.4", "webpack": "^5.74.0", "webpack-bundle-analyzer": "^4.6.1", "webpack-cli": "^4.10.0" }, "keywords": [ "okx", "okx api", "okex", "okex api", "api", "websocket", "okx websocket api", "okx websocket api javascript", "okx ws api", "rest", "rest api", "usdt", "trading bots", "nodejs", "node", "trading", "cryptocurrency", "bitcoin", "best" ], "funding": { "type": "individual", "url": "https://github.com/sponsors/tiagosiebler" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/tiagosiebler/okx-api" }, "bugs": { "url": "https://github.com/tiagosiebler/okx-api/issues" }, "homepage": "https://github.com/tiagosiebler/okx-api#readme" }