UNPKG

@hazae41/kcp

Version:

Zero-copy KCP protocol for the web

68 lines (67 loc) 1.55 kB
{ "type": "module", "name": "@hazae41/kcp", "version": "1.1.6", "author": "hazae41", "license": "MIT", "description": "Zero-copy KCP protocol for the web", "homepage": "https://github.com/hazae41/kcp", "repository": "github:hazae41/kcp", "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.mjs", "types": "./dist/types/index.d.ts", "sideEffects": false, "files": [ "./dist/esm", "./dist/cjs", "./dist/types" ], "scripts": { "build": "rimraf dist && rollup -c", "test": "node ./dist/test/index.test.mjs", "bench": "node ./dist/bench/index.bench.mjs" }, "dependencies": { "@hazae41/binary": "^1.3.11", "@hazae41/cascade": "^2.2.3", "@hazae41/cursor": "^2.0.7", "@hazae41/future": "^2.0.1" }, "devDependencies": { "@hazae41/deimos": "^1.0.6", "@hazae41/phobos": "^1.0.10", "@rollup/plugin-inject": "^5.0.5", "@rollup/plugin-typescript": "^12.1.4", "@types/node": "^24.3.0", "rimraf": "^6.0.1", "rollup": "^4.46.2", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-node-externals": "^8.0.1", "typescript": "^5.9.2" }, "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.cjs" } }, "keywords": [ "kcp", "tcp", "udp", "smux", "protocol", "browser", "buffer", "stream", "streaming", "zero-copy", "packets", "binary", "encoding", "decoding", "typescript", "esmodules" ] }