{
  "name": "@decentnetwork/peer",
  "version": "0.1.123",
  "description": "Pure TypeScript port of Elastos Carrier (toxcore-derived) P2P messaging. DHT, onion routing, TCP relay, FlatBuffers app payloads, Express offline relay. Wire-compatible with iOS Beagle and the Carrier C SDK.",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    }
  },
  "bin": {
    "decent-peer": "dist/cli.js"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE",
    "docs/INSTALL.md",
    "docs/USAGE_GUIDE.md"
  ],
  "sideEffects": false,
  "engines": {
    "node": ">=20.0.0"
  },
  "keywords": [
    "carrier",
    "elastos",
    "tox",
    "toxcore",
    "p2p",
    "messaging",
    "dht",
    "onion",
    "decentralized",
    "beagle",
    "encryption",
    "tweetnacl",
    "nacl",
    "typescript",
    "node"
  ],
  "license": "GPL-3.0-or-later",
  "author": "Decent Network contributors",
  "homepage": "https://github.com/0xli/peer#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/0xli/peer.git",
    "directory": "packages/peer"
  },
  "bugs": {
    "url": "https://github.com/0xli/peer/issues"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "clean": "rm -rf dist tsconfig.tsbuildinfo",
    "build": "tsc -p tsconfig.json && chmod +x dist/cli.js",
    "build:clean": "pnpm run clean && pnpm run build",
    "prepublishOnly": "pnpm run build:clean && pnpm run typecheck",
    "demo:bootstrap:local": "pnpm run build && node scripts/bootstrap-local-demo.mjs",
    "demo:carrier-packets": "pnpm run build && node scripts/carrier-packet-demo.mjs",
    "demo:friend-message": "pnpm run build && node scripts/friend-message-demo.mjs",
    "demo:js-to-js": "pnpm run build && node scripts/js-to-js-demo.mjs",
    "demo:tox-dht-crypto": "pnpm run build && node scripts/tox-dht-crypto-demo.mjs",
    "test:compat": "pnpm run build && node scripts/compat-selftest.mjs",
    "test:invite": "pnpm run build && node scripts/invite-selftest.mjs",
    "test:reorder": "pnpm run build && node scripts/reorder-selftest.mjs",
    "test:bulkmsg": "pnpm run build && node scripts/bulkmsg-selftest.mjs",
    "test:userinfo": "pnpm run build && node scripts/userinfo-selftest.mjs",
    "test:tcp-onion": "pnpm run build && node scripts/tcp-onion-selftest.mjs",
    "smoke:join": "node scripts/smoke-join.mjs",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "test:express": "pnpm run build && node scripts/express-scheme-selftest.mjs"
  },
  "dependencies": {
    "flatbuffers": "^25.9.23",
    "tweetnacl": "^1.0.3",
    "curve25519-js": "^0.0.4"
  }
}
