{"_id":"@artimora/electra","_rev":"3-be1529e23b57eef7a6f7e18b7ea62cb4","name":"@artimora/electra","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@artimora/electra","version":"1.0.0","author":{"url":"https://github.com/copperdevs","name":"copperdevs","email":"me@copperdevs.com"},"license":"MIT","_id":"@artimora/electra@1.0.0","maintainers":[{"name":"copperdevs","email":"xXBUILDERXx1436@outlook.com"}],"homepage":"https://github.com/artimora/electra","bugs":"https://github.com/artimora/electra/issues","dist":{"shasum":"17a608283fb3ad514c02dd39b548a5a1ee7bff83","tarball":"https://registry.npmjs.org/@artimora/electra/-/electra-1.0.0.tgz","fileCount":5,"integrity":"sha512-sz9sZ2k082dSxpGivz9yM2rL48AyTpYxIzGUa8x/1vzXzqQYoS6qDNR5g+xGM7vrx7jQDkSbsDVllXOC6YXzZA==","signatures":[{"sig":"MEUCIBEuYLgkvuqe32ArzzAjy2n3428Qc6lmRgsQB6MiBYsUAiEAjMGyuzg7uxVW/ipcpl3Rg7mWp5rnv9Szt2eNKm7v470=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15494},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"17a608283fb3ad514c02dd39b548a5a1ee7bff83","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"scripts":{"dev":"bunup --exports --watch --external bun","build":"bunup --exports --external bun"},"_npmUser":{"name":"copperdevs","email":"xXBUILDERXx1436@outlook.com"},"_integrity":"sha512-sz9sZ2k082dSxpGivz9yM2rL48AyTpYxIzGUa8x/1vzXzqQYoS6qDNR5g+xGM7vrx7jQDkSbsDVllXOC6YXzZA==","repository":{"url":"https://github.com/artimora/electra#","type":"git"},"_npmVersion":"10.8.3","description":"simple (and thin) message based networking library","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bunup":"^0.16.25","@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/electra_1.0.0_1771234106770_0.7784975769616951","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@artimora/electra","version":"1.1.0","author":{"url":"https://github.com/copperdevs","name":"copperdevs","email":"me@copperdevs.com"},"license":"MIT","_id":"@artimora/electra@1.1.0","maintainers":[{"name":"copperdevs","email":"xXBUILDERXx1436@outlook.com"}],"homepage":"https://github.com/artimora/electra","bugs":{"url":"https://github.com/artimora/electra/issues"},"dist":{"shasum":"3a9f335d9122f3fdd71399891f2d387b43ed2263","tarball":"https://registry.npmjs.org/@artimora/electra/-/electra-1.1.0.tgz","fileCount":5,"integrity":"sha512-n+XCeVsMfnnpB7IXHJHdQcQe8FAn7iF4srn2pZOEXajEPJArYFW6WZOmI0mvgVKA3iu71KcFYmyWJ78vIh8uYg==","signatures":[{"sig":"MEUCIHPLmIknDg+jqH7QBzLh5fFZuN4JgAcN5vM7V9kxD7ibAiEAoYN3l/d+2Venol6+dXR+U+/gm0kclwWTWF+9wq3nKq4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25645},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"a4b97bf4f54a216ba82187d47dab601388dd1c38","scripts":{"dev":"bunup --exports --watch --external bun","build":"bunup --exports --external bun"},"_npmUser":{"name":"copperdevs","email":"xXBUILDERXx1436@outlook.com"},"repository":{"url":"git+https://github.com/artimora/electra.git","type":"git"},"_npmVersion":"11.9.0","description":"simple (and thin) message based networking library","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bunup":"^0.16.25","@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/electra_1.1.0_1774166113592_0.9569352861529994","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@artimora/electra","description":"simple (and thin) message based networking library","version":"1.1.1","type":"module","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"devDependencies":{"@types/bun":"latest","bunup":"^0.16.25"},"peerDependencies":{"typescript":"^5"},"scripts":{"dev":"bunup --exports --watch --external bun","build":"bunup --exports --external bun"},"author":{"name":"copperdevs","email":"me@copperdevs.com","url":"https://github.com/copperdevs"},"repository":{"type":"git","url":"git+https://github.com/artimora/electra.git"},"bugs":{"url":"https://github.com/artimora/electra/issues"},"homepage":"https://github.com/artimora/electra","license":"MIT","publishConfig":{"access":"public"},"gitHead":"d3484b5aeea055847fda30fffcd8b8ab357f83e6","_id":"@artimora/electra@1.1.1","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-5X4CRH7ifbKpfj/AgOdGgIxyl6seDzsW9lV9juol0vq0Ijl2uIjZyVxjfcNJ6Y0D45LWqDA4dNdz875ttvNQ2w==","shasum":"1b9e4c6cb6a77b9e7b37f6d04fa95dded8515677","tarball":"https://registry.npmjs.org/@artimora/electra/-/electra-1.1.1.tgz","fileCount":5,"unpackedSize":25658,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAyzhOOwnILkaBmqNXKeK0JQXxV8TG7TGMMhrQKHAzNkAiAuBVvtrfmG4pggJPzLzj5fcQQKZT9sVT4BBV709fs83w=="}]},"_npmUser":{"name":"copperdevs","email":"xXBUILDERXx1436@outlook.com"},"directories":{},"maintainers":[{"name":"copperdevs","email":"xXBUILDERXx1436@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/electra_1.1.1_1774837089487_0.5666328703761647"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-16T09:28:26.686Z","modified":"2026-03-30T02:18:09.795Z","1.0.0":"2026-02-16T09:28:26.996Z","1.1.0":"2026-03-22T07:55:13.732Z","1.1.1":"2026-03-30T02:18:09.655Z"},"bugs":{"url":"https://github.com/artimora/electra/issues"},"author":{"name":"copperdevs","email":"me@copperdevs.com","url":"https://github.com/copperdevs"},"license":"MIT","homepage":"https://github.com/artimora/electra","repository":{"type":"git","url":"git+https://github.com/artimora/electra.git"},"description":"simple (and thin) message based networking library","maintainers":[{"name":"copperdevs","email":"xXBUILDERXx1436@outlook.com"}],"readme":"# electra\n\n> simple (and thin) message based networking library\n\n> a pleiades sister library\n\n## Example\n\n### Server\n\n```typescript\nconst server = new ElectraServer({\n  networkingLayer: new TCPNetworkingLayer(),\n  port: 8080,\n});\n```\n\n### Client\n\n```typescript\nconst client = new ElectraClient({\n  host: \"127.0.0.1\",\n  port: 8080,\n  networkingLayer: new TCPNetworkingLayer(),\n  autoReconnect: { delayMs: 2000, maxAttempts: 10 },\n});\n\nclient.send({\n  id: \"testing:time\",\n  values: {\n    time: `${Date.now()}`,\n  },\n});\n```\n","readmeFilename":"README.md"}