{"_id":"@danidoble/serial-node-arduino-tester","_rev":"8-d9f6a07f14406e6d46f8e79b77125d89","name":"@danidoble/serial-node-arduino-tester","dist-tags":{"dev":"0.0.1-dev.4","latest":"0.0.4"},"versions":{"0.0.1-dev.1":{"name":"@danidoble/serial-node-arduino-tester","version":"0.0.1-dev.1","author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","_id":"@danidoble/serial-node-arduino-tester@0.0.1-dev.1","maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"homepage":"https://github.com/danidoble/serial-node-arduino#readme","bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"dist":{"shasum":"aac6d4e94c6b8198271cf6584d145d665196580c","tarball":"https://registry.npmjs.org/@danidoble/serial-node-arduino-tester/-/serial-node-arduino-tester-0.0.1-dev.1.tgz","fileCount":9,"integrity":"sha512-VOOtLxt1P8NjNSWjRftGdKZnLotVob6m4RKqLKhCneCC9QoMPKhJRXFTEjssgs0u8KxtdYYVyBtYRk9Tqu+G5A==","signatures":[{"sig":"MEUCIQCjY4X9epr9m5D9nW1pzWWmXpYRUZhN5GFb2WuzpK2wAAIgfZ4EW3VQuHR5ImkaA+rVQYxMaH0eH8eEy0NFiNjSHAM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46314},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"f52aba4e0fae20a860904e26fb0aa0760d140151","scripts":{"dev":"tsdown --watch","lint":"eslint .","test":"vitest","build":"prettier --write ./src/ && tsdown","clean":"rm -rf ./dist/","format":"prettier --write ./src/","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"danidoble","email":"ddanidoble@gmail.com"},"repository":{"url":"git+https://github.com/danidoble/serial-node-arduino.git","type":"git"},"_npmVersion":"10.9.3","description":"A Node.js tester module for Arduino devices using serial communication.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"jiti":"^2.6.1","bumpp":"^10.4.0","eslint":"^9.39.2","tsdown":"^0.2.17","vitest":"^4.0.17","globals":"^17.0.0","prettier":"^3.8.0","@eslint/js":"^9.39.2","serialport":"^13.0.0","typescript":"^5.9.3","@types/node":"^20.0.0","serial-core":"^0.2.0-dev.1","typescript-eslint":"^8.53.0"},"peerDependencies":{"serialport":"^13.0.0","serial-core":"^0.2.0-dev.3"},"_npmOperationalInternal":{"tmp":"tmp/serial-node-arduino-tester_0.0.1-dev.1_1768521378717_0.14967542274089407","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-dev.2":{"name":"@danidoble/serial-node-arduino-tester","version":"0.0.1-dev.2","author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","_id":"@danidoble/serial-node-arduino-tester@0.0.1-dev.2","maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"homepage":"https://github.com/danidoble/serial-node-arduino#readme","bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"dist":{"shasum":"af1030bfe55effbd4321916ba224e2a74b04f6a4","tarball":"https://registry.npmjs.org/@danidoble/serial-node-arduino-tester/-/serial-node-arduino-tester-0.0.1-dev.2.tgz","fileCount":9,"integrity":"sha512-vNywfd3yfTgkc/YNJYTG5LdAK2kDA1bct9ObGY15I5x0/ehcz2b2utNIOJiSyq+W7meDAQ5D5a3LWOv3XAGS4Q==","signatures":[{"sig":"MEUCIFSG53HlUvPvwxc19DO61k13PV3hJQ8U5SfGtKrHEyrVAiEA8JD4Mt1RM4Ei0/+2Sl9Ssh27qrjSOzCZu+HsNz98sfA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46198},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"756d692d73663abeda35fa2012c26c89b1868436","scripts":{"dev":"tsdown --watch","lint":"eslint .","test":"vitest","build":"prettier --write ./src/ && tsdown","clean":"rm -rf ./dist/","format":"prettier --write ./src/","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"danidoble","email":"ddanidoble@gmail.com"},"repository":{"url":"git+https://github.com/danidoble/serial-node-arduino.git","type":"git"},"_npmVersion":"10.9.3","description":"A Node.js tester module for Arduino devices using serial communication.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jiti":"^2.6.1","bumpp":"^10.4.0","eslint":"^9.39.2","tsdown":"^0.2.17","vitest":"^4.0.17","globals":"^17.0.0","prettier":"^3.8.0","@eslint/js":"^9.39.2","serialport":"^13.0.0","typescript":"^5.9.3","@types/node":"^20.0.0","serial-core":"^0.2.0-dev.1","typescript-eslint":"^8.53.0"},"peerDependencies":{"serialport":"^13.0.0","serial-core":"^0.2.0-dev.3"},"_npmOperationalInternal":{"tmp":"tmp/serial-node-arduino-tester_0.0.1-dev.2_1768577681055_0.14576378415279279","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-dev.3":{"name":"@danidoble/serial-node-arduino-tester","version":"0.0.1-dev.3","author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","_id":"@danidoble/serial-node-arduino-tester@0.0.1-dev.3","maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"homepage":"https://github.com/danidoble/serial-node-arduino#readme","bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"dist":{"shasum":"bfdf70cbc715f91b88382e520122a807ebc762fb","tarball":"https://registry.npmjs.org/@danidoble/serial-node-arduino-tester/-/serial-node-arduino-tester-0.0.1-dev.3.tgz","fileCount":9,"integrity":"sha512-Qh/9MhXfgmTTB34gwNj2oIxk4RPvDyBvNU4JDbQxuxwptvln8ghFYxsuYC0H7ujQ9WEWN0BVue+ZgKG6Ot4esQ==","signatures":[{"sig":"MEQCIAvtVhHVHs0dI3l2+jUGFsi1sY1LfgacBiWhMecv/8TYAiBs1hMtLIx2uePKutuPqhHfEEWtfRs9WlQF9g8bUIhTxQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46464},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"e4c0892782fa9afcf32c14c5938b900e88b08914","scripts":{"dev":"tsdown --watch","lint":"eslint .","test":"vitest","build":"prettier --write ./src/ && tsdown","clean":"rm -rf ./dist/","format":"prettier --write ./src/","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"danidoble","email":"ddanidoble@gmail.com"},"repository":{"url":"git+https://github.com/danidoble/serial-node-arduino.git","type":"git"},"_npmVersion":"10.9.3","description":"A Node.js tester module for Arduino devices using serial communication.","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jiti":"^2.6.1","bumpp":"^10.4.0","eslint":"^9.39.2","tsdown":"^0.2.17","vitest":"^4.0.17","globals":"^17.0.0","prettier":"^3.8.0","@eslint/js":"^9.39.2","serialport":"^13.0.0","typescript":"^5.9.3","@types/node":"^20.0.0","serial-core":"^0.2.0-dev.4","typescript-eslint":"^8.53.0"},"peerDependencies":{"serialport":"^13.0.0","serial-core":"^0.2.0-dev.4"},"_npmOperationalInternal":{"tmp":"tmp/serial-node-arduino-tester_0.0.1-dev.3_1768578701898_0.6724995248371675","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-dev.4":{"name":"@danidoble/serial-node-arduino-tester","version":"0.0.1-dev.4","author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","_id":"@danidoble/serial-node-arduino-tester@0.0.1-dev.4","maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"homepage":"https://github.com/danidoble/serial-node-arduino#readme","bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"dist":{"shasum":"0f6118c47e18e188fc116c02deeeb0732fe1cf0b","tarball":"https://registry.npmjs.org/@danidoble/serial-node-arduino-tester/-/serial-node-arduino-tester-0.0.1-dev.4.tgz","fileCount":9,"integrity":"sha512-C1yASmCJu2HeCwuCuhEd0RP7RtnTu6kNR42yagxca9lkM6yezwRRaMAna7FgrfeEL/xDYlYjeLLd6O8MSdCfsQ==","signatures":[{"sig":"MEUCIQDVSreBS8bXxBwoeAMYD3fUnO09Dg9B0NjUetC8c99XvgIgKd7/k2F7as1oHAMPgCUkoopOgzRDo4pZVg0zsqsMbtE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46464},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"b7e2ada4299a24e2602183ced5d336c8aeb4de2a","scripts":{"dev":"tsdown --watch","lint":"eslint .","test":"vitest","build":"prettier --write ./src/ && tsdown","clean":"rm -rf ./dist/","format":"prettier --write ./src/","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"danidoble","email":"ddanidoble@gmail.com"},"repository":{"url":"git+https://github.com/danidoble/serial-node-arduino.git","type":"git"},"_npmVersion":"11.6.3","description":"A Node.js tester module for Arduino devices using serial communication.","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jiti":"^2.6.1","bumpp":"^10.4.0","eslint":"^9.39.2","tsdown":"^0.2.17","vitest":"^4.0.17","globals":"^17.0.0","prettier":"^3.8.0","@eslint/js":"^9.39.2","serialport":"^13.0.0","typescript":"^5.9.3","@types/node":"^20.0.0","serial-core":"^0.2.0-dev.5","typescript-eslint":"^8.53.0"},"peerDependencies":{"serialport":"^13.0.0","serial-core":"^0.2.0-dev.5"},"_npmOperationalInternal":{"tmp":"tmp/serial-node-arduino-tester_0.0.1-dev.4_1768756130796_0.5048745783607071","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@danidoble/serial-node-arduino-tester","version":"0.0.1","author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","_id":"@danidoble/serial-node-arduino-tester@0.0.1","maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"homepage":"https://github.com/danidoble/serial-node-arduino#readme","bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"dist":{"shasum":"5ad8664ebc6d2be86804baab58f0163b63efcffe","tarball":"https://registry.npmjs.org/@danidoble/serial-node-arduino-tester/-/serial-node-arduino-tester-0.0.1.tgz","fileCount":9,"integrity":"sha512-qfjUrWiWqQUjyUHpBfl6MNndAN12w00KV0Y698tCJdOpcB5OGsTY0qTxqdEnzfZEGDEQwD1f8yA11t/ShLqN7Q==","signatures":[{"sig":"MEQCIA4eEtJqdJ4wba/VeUVDkudwQ+nMr0r/73UHTUjNm7vwAiAFTTVs6PnNwYCJ8TT6VodsPwHqEl7i9E5z9EmQ3v3/sA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55981},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"4fe2077e227baf6b4443d5fc50cc5d1e4f2e7992","scripts":{"dev":"tsdown --watch","lint":"eslint .","test":"vitest","build":"npm run format && tsdown","clean":"rm -rf ./dist/","format":"prettier --write ./src/ ./tests/ ./CONTRIBUTING.md ./README.md ./package.json","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"danidoble","email":"ddanidoble@gmail.com"},"repository":{"url":"git+https://github.com/danidoble/serial-node-arduino.git","type":"git"},"_npmVersion":"11.6.3","description":"A Node.js tester module for Arduino devices using serial communication.","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"jiti":"^2.6.1","bumpp":"^10.4.0","eslint":"^9.39.2","tsdown":"^0.2.17","vitest":"^4.0.17","globals":"^17.0.0","prettier":"^3.8.0","@eslint/js":"^9.39.2","serialport":"^13.0.0","typescript":"^5.9.3","@types/node":"^20.0.0","serial-core":"^0.2.0-dev.5","typescript-eslint":"^8.53.0"},"peerDependencies":{"serialport":"^13.0.0","serial-core":"^0.2.0-dev.5"},"_npmOperationalInternal":{"tmp":"tmp/serial-node-arduino-tester_0.0.1_1768762325259_0.1711716102051577","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@danidoble/serial-node-arduino-tester","version":"0.0.2","author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","_id":"@danidoble/serial-node-arduino-tester@0.0.2","maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"homepage":"https://github.com/danidoble/serial-node-arduino#readme","bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"dist":{"shasum":"bb807b5677cbe1ea04775aa991a646bf9dbbf41d","tarball":"https://registry.npmjs.org/@danidoble/serial-node-arduino-tester/-/serial-node-arduino-tester-0.0.2.tgz","fileCount":9,"integrity":"sha512-WpaNvSuyo7l9TLKfYBKTFmdw0BZI6r32PSRqvp2rLB14IwMXqBDLFdBFgLEgY+9daGPEPbthZ/BO3L1h8YO97Q==","signatures":[{"sig":"MEUCIQCgSGfD2UhMaRyANXfcX87ZErhb7TaU5+5FSXIf80bQxAIgTGNMKyBF4FQzovCySDVX+0gH4p41syc1rYkJQn9sO4g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55969},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"7b2ccd5ca79158e38fffbaacf534ed4b0e69140f","scripts":{"dev":"tsdown --watch","lint":"eslint .","test":"vitest","build":"npm run format && tsdown","clean":"rm -rf ./dist/","format":"prettier --write ./src/ ./tests/ ./CONTRIBUTING.md ./README.md ./package.json","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"danidoble","email":"ddanidoble@gmail.com"},"repository":{"url":"git+https://github.com/danidoble/serial-node-arduino.git","type":"git"},"_npmVersion":"11.6.3","description":"A Node.js tester module for Arduino devices using serial communication.","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"jiti":"^2.6.1","bumpp":"^10.4.0","eslint":"^9.39.2","tsdown":"^0.2.17","vitest":"^4.0.17","globals":"^17.0.0","prettier":"^3.8.0","@eslint/js":"^9.39.2","serialport":"^13.0.0","typescript":"^5.9.3","@types/node":"^20.0.0","serial-core":"^0.2.0","typescript-eslint":"^8.53.0"},"peerDependencies":{"serialport":"^13.0.0","serial-core":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/serial-node-arduino-tester_0.0.2_1768763880543_0.14233618442985296","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@danidoble/serial-node-arduino-tester","version":"0.0.3","author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","_id":"@danidoble/serial-node-arduino-tester@0.0.3","maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"homepage":"https://github.com/danidoble/serial-node-arduino#readme","bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"dist":{"shasum":"6dcdbfa888825fd63fcb12f6f1671eb4ad3789db","tarball":"https://registry.npmjs.org/@danidoble/serial-node-arduino-tester/-/serial-node-arduino-tester-0.0.3.tgz","fileCount":9,"integrity":"sha512-IsIVF7S6FLBGfNO3bxRKpgoU6Y3Razy3PCtT3k3brKSc1V0/OhaUe+WrayBwWGpTcnencqdBMPi2o28Hjty1Rg==","signatures":[{"sig":"MEUCIGM4JvDCa5ijCLB6vvrDu6Kd1NOrZNKDHNgQH8wGWG/tAiEA+mRXjOlH54ubCtvE+4M5FaUIWj4SeSAHH65gjRiNYyU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55968},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"6bc2bdb30728b8664562762ab2d544d9d12d870b","scripts":{"dev":"tsdown --watch","lint":"eslint .","test":"vitest","build":"npm run format && tsdown","clean":"rm -rf ./dist/","format":"prettier --write ./src/ ./tests/ ./CONTRIBUTING.md ./README.md ./package.json","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"danidoble","email":"ddanidoble@gmail.com"},"repository":{"url":"git+https://github.com/danidoble/serial-node-arduino.git","type":"git"},"_npmVersion":"11.7.0","description":"A Node.js tester module for Arduino devices using serial communication.","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"jiti":"^2.6.1","bumpp":"^10.4.0","eslint":"^9.39.2","tsdown":"^0.2.17","vitest":"^4.0.17","globals":"^17.0.0","prettier":"^3.8.0","@eslint/js":"^9.39.2","serialport":"^13.0.0","typescript":"^5.9.3","@types/node":"^20.0.0","serial-core":"^0.2.0","typescript-eslint":"^8.53.0"},"peerDependencies":{"serialport":"^13.0.0","serial-core":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/serial-node-arduino-tester_0.0.3_1769441296355_0.5136373141064927","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@danidoble/serial-node-arduino-tester","type":"module","version":"0.0.4","description":"A Node.js tester module for Arduino devices using serial communication.","author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","homepage":"https://github.com/danidoble/serial-node-arduino#readme","repository":{"type":"git","url":"git+https://github.com/danidoble/serial-node-arduino.git"},"bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs","types":"./dist/index.d.ts"}},"scripts":{"dev":"tsdown --watch","build":"npm run format && tsdown","typecheck":"tsc --noEmit","test":"vitest","prepublishOnly":"npm run build","clean":"rm -rf ./dist/","format":"prettier --write ./src/ ./tests/ ./CONTRIBUTING.md ./README.md ./package.json","lint":"eslint ."},"devDependencies":{"@eslint/js":"^9.39.2","@types/node":"^20.0.0","bumpp":"^10.4.0","eslint":"^9.39.2","globals":"^17.0.0","jiti":"^2.6.1","prettier":"^3.8.0","serial-core":"^0.2.0","serialport":"^13.0.0","tsdown":"^0.2.17","typescript":"^5.9.3","typescript-eslint":"^8.53.0","vitest":"^4.0.17"},"peerDependencies":{"serialport":"^13.0.0","serial-core":"^0.2.2"},"engines":{"node":">=18.0.0"},"gitHead":"ddb0185f76692acbbaf4a1ccc3439c89f9562047","_id":"@danidoble/serial-node-arduino-tester@0.0.4","_nodeVersion":"24.12.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-67LgJkvtfKBQIXizikdliVlDpCuG1J8egHeFxxzM6n6VLOJFju1m/0DF6b2+Rsa4Jm97DUxKmMCD9Ww6c4gNrA==","shasum":"0618e4a3463f1f25950f6214bc3706da72d4e7a1","tarball":"https://registry.npmjs.org/@danidoble/serial-node-arduino-tester/-/serial-node-arduino-tester-0.0.4.tgz","fileCount":9,"unpackedSize":56209,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICHzSYzX7thiPYvPYN+C/GxpAVosefkdUOV3ZztHKnWAAiEA+1HQr9wEsQjdALX5XxSPlR4aSL19dMN3EwSDZUkuZJA="}]},"_npmUser":{"name":"danidoble","email":"ddanidoble@gmail.com"},"directories":{},"maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/serial-node-arduino-tester_0.0.4_1769448961942_0.3445995960478567"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-15T23:56:18.578Z","modified":"2026-01-26T17:36:02.198Z","0.0.1-dev.1":"2026-01-15T23:56:18.857Z","0.0.1-dev.2":"2026-01-16T15:34:41.190Z","0.0.1-dev.3":"2026-01-16T15:51:42.031Z","0.0.1-dev.4":"2026-01-18T17:08:50.920Z","0.0.1":"2026-01-18T18:52:05.420Z","0.0.2":"2026-01-18T19:18:00.724Z","0.0.3":"2026-01-26T15:28:16.508Z","0.0.4":"2026-01-26T17:36:02.088Z"},"bugs":{"url":"https://github.com/danidoble/serial-node-arduino/issues"},"author":{"name":"Danidoble","email":"danidoble@gmail.com"},"license":"GPL-3.0-only","homepage":"https://github.com/danidoble/serial-node-arduino#readme","repository":{"type":"git","url":"git+https://github.com/danidoble/serial-node-arduino.git"},"description":"A Node.js tester module for Arduino devices using serial communication.","maintainers":[{"name":"danidoble","email":"ddanidoble@gmail.com"}],"readme":"# Serial Node Arduino\n\n[![npm version](https://img.shields.io/npm/v/@danidoble/serial-node-arduino-tester.svg)](https://www.npmjs.com/package/@danidoble/serial-node-arduino-tester)\n[![License: GPL-3.0](https://img.shields.io/badge/License-GPL%203.0-blue.svg)](https://opensource.org/licenses/GPL-3.0)\n\nA Node.js library for serial communication with Arduino devices. Provides a simple event-based interface to interact with Arduino devices through serial communication.\n\n## Features\n\n- Event-based serial communication\n- Automatic connection/disconnection management\n- Command sending with custom aliases\n- Support for timeouts and asynchronous responses\n- Typed and structured messages\n- Support for CommonJS and ES Modules\n- Native TypeScript with included type definitions\n\n## Installation\n\n**Important:** This library requires the following peer dependencies that must be installed explicitly:\n\n```bash\nnpm install @danidoble/serial-node-arduino-tester serialport serial-core\n```\n\nOr using yarn:\n\n```bash\nyarn add @danidoble/serial-node-arduino-tester serialport serial-core\n```\n\nOr using pnpm:\n\n```bash\npnpm add @danidoble/serial-node-arduino-tester serialport serial-core\n```\n\n## Requirements\n\n- Node.js >= 18.0.0\n- serialport ^13.0.0\n- serial-core ^0.2.0-dev.3\n\n## Usage\n\n### Basic Setup\n\n```typescript\nimport { Arduino } from '@danidoble/serial-node-arduino-tester';\n\n// Configure Arduino connection\nconst arduino = new Arduino({\n  path: '/dev/ttyUSB0', // Your Arduino serial port\n  baudRate: 9600,\n  autoOpen: true\n});\n\n// Listen to connection events\narduino.on('serial:connected', info => {\n  console.log('Arduino connected:', info);\n});\n\narduino.on('serial:disconnected', reason => {\n  console.log('Arduino disconnected:', reason);\n});\n\n// Listen to Arduino messages\narduino.on('serial:message', message => {\n  console.log('Message received:', message);\n});\n\n// Listen to errors\narduino.on('serial:error', error => {\n  console.error('Error:', error);\n});\n```\n\n### Sending Commands\n\n```typescript\n// Send predefined commands\nawait arduino.sayHi();\nawait arduino.sayCredits();\n\n// Perform multiple actions\nawait arduino.doSomething();\n\n// Stop the connection\nawait arduino.stop();\n```\n\n### Message Structure\n\nReceived messages have the following structure:\n\n```typescript\ninterface SerialMessage {\n  code: Buffer | string; // Raw code received\n  name: string; // Message name\n  description: string; // Message description\n  request: string; // Alias of the command that generated the response\n  no_code: number; // Numeric message code\n}\n```\n\n**Predefined Message Types:**\n\n- `connected` (code: 100) - Connection established\n- `thanks` (code: 101) - Credits message from Arduino\n- `hello there` (code: 102) - Greeting message\n- `ara ara` (code: 404) - Easter egg message\n- `unknown` (code: 400) - Unknown/unrecognized message\n\n### Available Events\n\n- `serial:status` - Serial connection status changes\n- `serial:connected` - Connection established with the device\n- `serial:disconnected` - Device disconnected\n- `serial:message` - Structured message received from Arduino\n- `serial:data` - Raw data received from Arduino\n- `serial:error` - Communication errors\n\n## API Documentation\n\nThe library includes comprehensive JSDoc comments for all public methods and classes. For detailed information about the Arduino class and its methods, refer to the source code:\n\n- [Arduino class](src/Arduino.ts) - Main class for serial communication\n- [Types](src/types.d.ts) - TypeScript type definitions\n\n### Arduino Class Methods\n\n- **`constructor(config: SerialConfig)`** - Creates an Arduino instance with configuration\n- **`start(): void`** - Starts the serial service\n- **`stop(): Promise<void>`** - Stops and disconnects from the Arduino\n- **`sayHi(): Promise<void>`** - Sends HI command to Arduino\n- **`sayCredits(): Promise<void>`** - Sends CREDITS command to Arduino\n- **`sayAra(): Promise<void>`** - Sends OTHER command (ara ara message)\n- **`doSomething(): Promise<void>`** - Executes all commands concurrently\n\n## Arduino Code Example\n\n```c\n// serial.ino\n\nvoid setup() {\n  Serial.begin(9600);\n}\n\nvoid loop() {\n  if (Serial.available() > 0) { // Check if data to read is available\n    String comando = Serial.readStringUntil('\\n'); // read the data until a new line is found\n    comando.trim(); // remove leading/trailing whitespace and \\r characters\n\n    if(comando == \"CONNECT\"){\n      Serial.println(\"connected\");\n    } else if (comando == \"CREDITS\") {\n      Serial.println(\"created by danidoble\");\n    } else if (comando == \"HI\") {\n      Serial.println(\"hello there\");\n    } else {\n      Serial.println(\"ara ara, what are you doing?\");\n    }\n  }\n}\n```\n\n## Development\n\n### Install Dependencies\n\n```bash\nnpm install\n```\n\n### Run Tests\n\n```bash\nnpm run test\n```\n\n### Build the Project\n\n```bash\nnpm run build\n```\n\n### Code Formatting\n\n```bash\nnpm run format\n```\n\n### Linting\n\n```bash\nnpm run lint\n```\n\n### Development Mode\n\n```bash\nnpm run dev\n```\n\n## Contributing\n\nContributions are welcome. Please read [CONTRIBUTING.md](CONTRIBUTING.md) for more details about our code of conduct and the process for submitting pull requests.\n\n## License\n\nThis project is licensed under the GPL-3.0 License - see the [LICENSE.md](LICENSE.md) file for details.\n\n## Author\n\n**Danidoble** - [danidoble@gmail.com](mailto:danidoble@gmail.com)\n\n## Links\n\n- [GitHub Repository](https://github.com/danidoble/serial-node-arduino)\n- [Report Issues](https://github.com/danidoble/serial-node-arduino/issues)\n- [NPM Package](https://www.npmjs.com/package/@danidoble/serial-node-arduino-tester)\n","readmeFilename":"README.md"}