{"_id":"@antti5/blinkstick-cli","_rev":"6-f895ada7a82a0e46de540e87c8f4ec3a","name":"@antti5/blinkstick-cli","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@antti5/blinkstick-cli","version":"0.1.0","author":{"name":"Antti Salonen"},"license":"MIT","_id":"@antti5/blinkstick-cli@0.1.0","maintainers":[{"name":"antti5","email":"antti.k.salonen@gmail.com"}],"homepage":"https://github.com/antti5/blinkstick-cli#readme","bugs":{"url":"https://github.com/antti5/blinkstick-cli/issues"},"bin":{"blinkstick":"bin/blinkstick.js"},"dist":{"shasum":"31e29f08d5ae36187c3b34b5152fe43ca94e2255","tarball":"https://registry.npmjs.org/@antti5/blinkstick-cli/-/blinkstick-cli-0.1.0.tgz","fileCount":5,"integrity":"sha512-SjjuzTxTUQ1dgqVnVG4kk/7AE2nAy5IhtP8yv1hkhHwRZjZMWCPQTH8aWvXdHC7gLkYhvP8fO89WHk0tDQI6OQ==","signatures":[{"sig":"MEYCIQCIsDVOnQhYrkgR0wxVbBBZI9R1KJ6xcNdCZ4JDoArbCAIhAIxjm6xBz0nwhRSuiBGZS9mnxQMT1QX3Pk3bbrjoaDoh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6932},"type":"module","gitHead":"c6de0978de18fa80d6a0d87b43530cef8562bba0","_npmUser":{"name":"antti5","email":"antti.k.salonen@gmail.com"},"repository":{"url":"git+https://github.com/antti5/blinkstick-cli.git","type":"git"},"_npmVersion":"10.9.4","description":"This is a minimal CLI utility for controlling smart LEDs such as the BlinkStick Nano: https://www.blinkstick.com/products/blinkstick-nano","directories":{},"_nodeVersion":"22.22.0","dependencies":{"node-hid":"3.3.0","@antti5/cmd-line-args":"0.1.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/blinkstick-cli_0.1.0_1781800159741_0.028647136789873073","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@antti5/blinkstick-cli","version":"0.1.1","author":{"name":"Antti Salonen"},"license":"MIT","_id":"@antti5/blinkstick-cli@0.1.1","maintainers":[{"name":"antti5","email":"antti.k.salonen@gmail.com"}],"homepage":"https://github.com/antti5/blinkstick-cli#readme","bugs":{"url":"https://github.com/antti5/blinkstick-cli/issues"},"bin":{"blinkstick":"bin/blinkstick.js"},"dist":{"shasum":"44e579cfc103172aa20dedd876b3576096215d38","tarball":"https://registry.npmjs.org/@antti5/blinkstick-cli/-/blinkstick-cli-0.1.1.tgz","fileCount":5,"integrity":"sha512-vUgbd9xvGdNxfuu2hszVsruGJkV6cUN1A0WK/ysBX2lFnl8jLyhipygr+dOGM95GHROcgPMF5F3hBFl+pbd8iw==","signatures":[{"sig":"MEYCIQDy8QjqxONNzC0hmLGezckhCx8u3+m+b8BZx5NrMYpFXwIhAIEnzozOZ6TwPlz6aSU49hS5EYgpjKoX5epiVM3PYBOq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6937},"type":"module","gitHead":"79579df23812c513f144a18314d5e3200de5519f","_npmUser":{"name":"antti5","email":"antti.k.salonen@gmail.com"},"repository":{"url":"git+https://github.com/antti5/blinkstick-cli.git","type":"git"},"_npmVersion":"10.9.4","description":"This is a minimal CLI utility for controlling smart LEDs such as the BlinkStick Nano: https://www.blinkstick.com/products/blinkstick-nano","directories":{},"_nodeVersion":"22.22.0","dependencies":{"node-hid":"3.3.0","@antti5/cmd-line-args":"0.1.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/blinkstick-cli_0.1.1_1781800924877_0.879588345025166","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@antti5/blinkstick-cli","version":"0.1.2","author":{"name":"Antti Salonen"},"license":"MIT","_id":"@antti5/blinkstick-cli@0.1.2","maintainers":[{"name":"antti5","email":"antti.k.salonen@gmail.com"}],"homepage":"https://github.com/antti5/blinkstick-cli#readme","bugs":{"url":"https://github.com/antti5/blinkstick-cli/issues"},"bin":{"blinkstick":"bin/blinkstick.js"},"dist":{"shasum":"b0953e531d4b1da3a1aa3a61547661c5d8d1e66c","tarball":"https://registry.npmjs.org/@antti5/blinkstick-cli/-/blinkstick-cli-0.1.2.tgz","fileCount":5,"integrity":"sha512-I2LXedacfLGLtC7szDR2Wa2v6U+AoR5MASEznn3kqwFFt9IL5E0JTkeHUmQXmg9ak1/wZeU1n/5QoKacZ1gzyA==","signatures":[{"sig":"MEQCIBatttB63Qnkb97Xp6mT0yH3RIJ7MWsrGceMYW/VAi5wAiAn0Lo7MFV1XkKU3ZSErKjFsD2+LNp1g//5sLEGBjZIkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6898},"type":"module","gitHead":"81c96fd1dd633a8b943b51525747e1ec4a3330b6","_npmUser":{"name":"antti5","email":"antti.k.salonen@gmail.com"},"repository":{"url":"git+https://github.com/antti5/blinkstick-cli.git","type":"git"},"_npmVersion":"10.9.4","description":"This is a minimal CLI utility for controlling smart LEDs such as the BlinkStick Nano: https://www.blinkstick.com/products/blinkstick-nano","directories":{},"_nodeVersion":"22.22.0","dependencies":{"node-hid":"3.3.0","@antti5/cmd-line-args":"0.1.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/blinkstick-cli_0.1.2_1781801127449_0.47510581376201144","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@antti5/blinkstick-cli","version":"0.1.3","author":{"name":"Antti Salonen"},"license":"MIT","_id":"@antti5/blinkstick-cli@0.1.3","maintainers":[{"name":"antti5","email":"antti.k.salonen@gmail.com"}],"homepage":"https://github.com/antti5/blinkstick-cli#readme","bugs":{"url":"https://github.com/antti5/blinkstick-cli/issues"},"bin":{"blinkstick":"bin/blinkstick.js"},"dist":{"shasum":"8c3ff35560c7d3ee01ade40fa5d6fcd9bafe4731","tarball":"https://registry.npmjs.org/@antti5/blinkstick-cli/-/blinkstick-cli-0.1.3.tgz","fileCount":5,"integrity":"sha512-lFV3WYgui394dI0WwWKHQuogCyEWXPRSvFG2luSpT6RErRSMRUTtKdR1Mk0a/nL1ZJqxKsm3huhDNxZNfyWH+A==","signatures":[{"sig":"MEQCIFlPDCbrmo046oW9ijeV6qm04LekEAnWMoJqr1EFJOkuAiBCIlIBoHaOahmBMozvTmzrrXTi9zkgtyD5D1SZcptK0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6895},"type":"module","gitHead":"7d802ad8b519be47d2462a222e264942ce828b1b","_npmUser":{"name":"antti5","email":"antti.k.salonen@gmail.com"},"repository":{"url":"git+https://github.com/antti5/blinkstick-cli.git","type":"git"},"_npmVersion":"10.9.4","description":"This is a minimal CLI utility for controlling smart LEDs such as the BlinkStick Nano: https://www.blinkstick.com/products/blinkstick-nano","directories":{},"_nodeVersion":"22.22.0","dependencies":{"node-hid":"3.3.0","@antti5/cmd-line-args":"0.3.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/blinkstick-cli_0.1.3_1784604194884_0.5747860279496286","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@antti5/blinkstick-cli","version":"0.1.4","license":"MIT","author":{"name":"Antti Salonen"},"type":"module","repository":{"type":"git","url":"git+https://github.com/antti5/blinkstick-cli.git"},"bin":{"blinkstick":"bin/blinkstick.js"},"dependencies":{"@antti5/cmd-line-args":"0.3.3","node-hid":"3.3.0"},"_id":"@antti5/blinkstick-cli@0.1.4","gitHead":"9b9db50af34b5721952fb2143bfcba448cf320d1","description":"This is a minimal CLI utility for controlling smart LEDs such as the BlinkStick Nano: https://www.blinkstick.com/products/blinkstick-nano","bugs":{"url":"https://github.com/antti5/blinkstick-cli/issues"},"homepage":"https://github.com/antti5/blinkstick-cli#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-tWLIvxEMm+cZTy2zowK/0AAE09pIY83NcGtXVXCWFBI4lJVR1G2tgZtYM2Yn3Tlk00x6FsNh2qmqR7FTc0jz7w==","shasum":"f19ffc39c78c5abe878d80055941cf49f2bb471b","tarball":"https://registry.npmjs.org/@antti5/blinkstick-cli/-/blinkstick-cli-0.1.4.tgz","fileCount":5,"unpackedSize":6948,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDHXQicFsH9J4PA95810g0owvfh2eIvGPwn+/6bUXAG3AiA9mWcQoBV0zFo6QzZRtUZH6TiQA8xq6riLG3HW0IXVJQ=="}]},"_npmUser":{"name":"antti5","email":"antti.k.salonen@gmail.com"},"directories":{},"maintainers":[{"name":"antti5","email":"antti.k.salonen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/blinkstick-cli_0.1.4_1784690561627_0.677143448289474"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-18T16:29:19.702Z","modified":"2026-07-22T03:22:41.896Z","0.1.0":"2026-06-18T16:29:19.876Z","0.1.1":"2026-06-18T16:42:05.000Z","0.1.2":"2026-06-18T16:45:27.586Z","0.1.3":"2026-07-21T03:23:15.040Z","0.1.4":"2026-07-22T03:22:41.760Z"},"bugs":{"url":"https://github.com/antti5/blinkstick-cli/issues"},"author":{"name":"Antti Salonen"},"license":"MIT","homepage":"https://github.com/antti5/blinkstick-cli#readme","repository":{"type":"git","url":"git+https://github.com/antti5/blinkstick-cli.git"},"description":"This is a minimal CLI utility for controlling smart LEDs such as the BlinkStick Nano: https://www.blinkstick.com/products/blinkstick-nano","maintainers":[{"name":"antti5","email":"antti.k.salonen@gmail.com"}],"readme":"# Node.js CLI utility for BlinkStick smart LED controllers\n\nThis is a minimal CLI utility for controlling smart LEDs such as the BlinkStick Nano: https://www.blinkstick.com/products/blinkstick-nano\n\nI created this for personal needs due to the official `blinkstick-cli` package not working with current Linux distributions.\n\nYou can run the utility with `npx blinkstick` or if you install globally with just `blinkstick`.\n\nI have tested this with BlinkStick Nano, however it should work with other models just as well.\n\n## Usage\n\nTurn on a LED: `blinkstick red`\n\nTurn on a LED other than the first one: `blinkstick red --index 1` (indexing starts from 0)\n\nTurn off a LED: `blinkstick off`\n\nBlink a LED: `blinkstick red --blink` (stop by terminating the program with e.g. ctrl-C)\n\nAvailable colors: **red**, **yellow**, **green**, **cyan**, **blue**, **magenta**, **white**\n\n## Adjusting brightness\n\nYou can append a brightness setting from 1 to 8 to any of the commands listed above.\n\nFor example: `blinkstick blue --brightness 8` (for maximum brightness)\n\nThe lowest brightness 1 is very dim, and it is possible that it does not even turn on the LED on all BlinkStick models. 8 sets the LED to its maximum brightness.\n\n## BlinkStick class\n\nActual control of the device takes place from the `BlinkStick` class under the `lib` directory. Depending on your needs, you may find this class useful by itself.\n\nThe class allows better control of the blink pattern, as you can adjust the blink interval and blink duration. The CLI utility always uses 1-second interval where the LED is turned on for 500 ms and then off for 500 ms.\n","readmeFilename":"README.md"}