@hazae41/kcp
Version:
Zero-copy KCP protocol for the web
70 lines (69 loc) • 1.62 kB
JSON
{
"type": "module",
"name": "@hazae41/kcp",
"version": "1.1.3",
"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",
"prepare": "npm run build"
},
"dependencies": {
"@hazae41/binary": "^1.3.5",
"@hazae41/bytes": "^1.2.11",
"@hazae41/cascade": "^2.2.2",
"@hazae41/cursor": "^1.2.4",
"@hazae41/future": "^1.0.3"
},
"devDependencies": {
"@hazae41/deimos": "^1.0.6",
"@hazae41/phobos": "^1.0.10",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^22.5.1",
"rimraf": "^6.0.1",
"rollup": "^4.21.2",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-node-externals": "^7.1.3",
"typescript": "^5.5.4"
},
"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"
]
}