UNPKG

@himalaya-quant/synapse

Version:

A lightweight TypeScript utility to spawn and interact with Python modules from Node.js with a native, message-based protocol over stdin/stdout.

58 lines (57 loc) 1.64 kB
{ "version": "1.3.0", "name": "@himalaya-quant/synapse", "description": "A lightweight TypeScript utility to spawn and interact with Python modules from Node.js with a native, message-based protocol over stdin/stdout.", "main": "dist/index.js", "homepage": "https://github.com/himalaya-quant/hq-synapse.git#readme", "repository": { "type": "git", "url": "git+https://github.com/himalaya-quant/hq-synapse.git" }, "bugs": { "url": "https://github.com/himalaya-quant/hq-synapse/issues" }, "scripts": { "prepare": "tsc", "build": "tsc", "watch": "tsc --watch", "start": "ts-node src/examples/example.ts", "test": "jest --detectOpenHandles", "test:watch": "jest --watch", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"" }, "keywords": [ "node", "python", "bridge", "interop", "venv", "msgpack" ], "author": "Caius Citiriga", "license": "MIT", "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } }, "publishConfig": { "access": "public" }, "devDependencies": { "@jest/globals": "^29.7.0", "@types/jest": "^29.5.14", "@types/node": "^20.17.30", "husky": "^9.1.7", "jest": "^29.7.0", "prettier": "^3.5.3", "pretty-quick": "^4.1.1", "ts-jest": "^29.3.1", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "dependencies": { "@msgpack/msgpack": "^3.1.1", "rxjs": "^7.8.2" } }