{"_id":"@cameronhunter/blinkstick","_rev":"1-b84c5d90b2f2af33b26b964a2ce8b689","name":"@cameronhunter/blinkstick","dist-tags":{"latest":"1.1.4"},"versions":{"1.1.4":{"name":"@cameronhunter/blinkstick","description":"Blickstick API for Node.js","keywords":["blinkstick","led"],"author":{"name":"Arvydas Juskevicius","url":"http://twitter.com/arvydev"},"contributors":[{"name":"Paul Cuthbertson","email":"npm@paulcuth.me.uk","url":"http://paulcuth.me.uk"}],"version":"1.1.4","engines":{"node":">=0.8.x"},"licenses":[{"type":"MIT","url":"https://raw.githubusercontent.com/arvydas/blinkstick-node/master/LICENSE"}],"main":"./blinkstick","repository":{"type":"git","url":"https://github.com/arvydas/blinkstick-node"},"dependencies":{"usb":"1.6.0"},"publishConfig":{"access":"public"},"license":"MIT","licenseText":"Copyright (c) 2014 Agile Innovative Ltd and contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@cameronhunter/blinkstick@1.1.4","dist":{"shasum":"ed6d69ebfa6913958cbdb03b689817739d772a6e","integrity":"sha512-2XxQGV1k/d1G5fgwzAnNZ63NMpB7oIUo1j1J4LtWHve6rrpn5phjOKa1RKiCxABJ2YxvJpjLEr7HjugmwKoSZg==","tarball":"https://registry.npmjs.org/@cameronhunter/blinkstick/-/blinkstick-1.1.4.tgz","fileCount":42,"unpackedSize":407899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFxgQCRA9TVsSAnZWagAAXaoP/1eSoAOXdChxYyBng9LU\nQp/Wkd49s/Mvc0v8no2T/8PpC4VcQAiBeTo3lDPnfd/oouoBN1ssd7kX34gY\npziFhGrJqSdNMNd5gGVMvUUVnrE2Quf3TvhE+0mH0341/0YKhMg6tg3Kol+0\nDDPIc9Pej9IHO2Fq/e8LTH6BtLdX0EYRkoo+vJgYp+FTTKIKG59l++9jOdLq\nWBLbVA+/7uL0UXKv/PoiKAo8EinXEubNtIl2X05rc+hWxySj8i4YlZu77UW0\nDhe19ByEMb96UrQHBcYC8fsGy0d3zfSruumWbMNSMx79lmm4ME/KO2Atuolo\nrRJobl1FRaBSUWIuPDjuEexWbbFmMHjU/W4h6zwJMO+DVwehAUU0uIvYC9TK\noriOHJmxlVNQAy7m9NKP9rRqQugjBa+T4uAYva7L/PL0nQcv0ROmFH+AiyDw\nOc0nYaYkzyxhCFWg9rU9/4eHxItV9ClV1tr20ck9mdhnHnH9mPy0p41tCQ/O\nbEbH4IDOcvLJienuhf8nLz6zTRglCzoDCqLRzDaNIN/UZBuHT6s4PAVsu/GY\nYQcCtRaljGHMU0dvkw+fkeasXFCkcgwbd/SV+JJWOnBLpg1jlCJOW/L+mCAa\n/V1O4nZ/lXDKbmkWDb5/51y7N5ZQAED8wK84h07kY2W80HEhE01budBl8RAR\nQx5h\r\n=DGIf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1ySs3L5k4lyQSERrG54c33jHMEwHV0ei+TvSAS5HPpgIgL8iOItpVaZTsb/o7OvGiqjNV7k2mX0srpvi1fHLPEpc="}]},"maintainers":[{"name":"cameronhunter","email":"hello@cameronhunter.co.uk"}],"_npmUser":{"name":"cameronhunter","email":"hello@cameronhunter.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blinkstick_1.1.4_1561794576245_0.7339161625817197"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-29T07:49:36.216Z","1.1.4":"2019-06-29T07:49:36.420Z","modified":"2022-04-04T21:34:10.999Z"},"maintainers":[{"name":"cameronhunter","email":"hello@cameronhunter.co.uk"}],"description":"Blickstick API for Node.js","keywords":["blinkstick","led"],"repository":{"type":"git","url":"https://github.com/arvydas/blinkstick-node"},"contributors":[{"name":"Paul Cuthbertson","email":"npm@paulcuth.me.uk","url":"http://paulcuth.me.uk"}],"author":{"name":"Arvydas Juskevicius","url":"http://twitter.com/arvydev"},"license":"MIT","readme":"![BlinkStick Node](http://www.blinkstick.com/images/logos/blinkstick-nodejs.png)\n\nBlinkStick Node provides an interface to control Blinkstick\ndevices connected to your computer with Node.js.\n\nWhat is BlinkStick? It's a smart USB-controlled LED device. More info about it here:\n\n[http://www.blinkstick.com](http://www.blinkstick.com)\n\n## Resources\n\n* [Code repository on GitHub](https://github.com/arvydas/blinkstick-node)\n* [API reference documentation](https://arvydas.github.io/blinkstick-node)\n* [Code Examples](https://github.com/arvydas/blinkstick-node/wiki)\n\n## Requirements\n\n* Node.js\n* Libusb for Mac OSX and Linux\n\n### Requirements for Mac OSX\n\nInstall Node with npm and libusb using [homebrew](http://mxcl.github.io/homebrew/):\n\n```\n$> brew install node\n$> brew install libusb\n```\n\n### Requirements for Windows\n\nInstall [Node for Windows](http://nodejs.org/download/) and make sure it's added\nto your PATH environment variable.\n\n### Requirements for Linux\n\n```\n$> sudo apt-get install libusb nodejs npm\n```\n\n#### Raspberry Pi\n\nThe apt repositories keep a very old version of NodeJS.  Please install the\n[Node ARM Binaries](http://nodejs.org/download/) from the official site. Run the\nfollowing command to confirm the architecture of your Raspberry Pi.\n\n```\n$> uname -m\n```\n\nAddionally, you will need to install `libudev-dev` rather than `libusb`.\n\n```\n$> sudo apt-get install libudev-dev -y\n```\n\n\n## Install BlinkStick node module\n\nInstall using npm:\n\n```\n$> npm install blinkstick\n```\n\n## Getting started\n\n    var blinkstick = require('blinkstick');\n\nTo get the first blinkstick on your system:\n\n    var device = blinkstick.findFirst();\n\nTo set the color:\n\n    led.blink('random', function(){\n        led.pulse('random', function(){\n            led.setColor('red', function(){\n            });\n        });\n    });\n\nMore details and examples available in the wiki:\n\nhttps://github.com/arvydas/blinkstick-node/wiki\n\n## Permission problems\n\nIf you get an error message on Linux:\n\n    Error: LIBUSB_ERROR_ACCESS\n\nPlease run the following command and restart your computer:\n\n    echo \"SUBSYSTEM==\\\"usb\\\", ATTR{idVendor}==\\\"20a0\\\", ATTR{idProduct}==\\\"41e5\\\", MODE:=\\\"0666\\\"\" | sudo tee /etc/udev/rules.d/85-blinkstick.rules\n\n## Maintainers\n\n* Arvydas Juskevicius - [http://twitter.com/arvydev](http://twitter.com/arvydev)\n* Paul Cuthbertson - [http://twitter.com/paulcuth](http://twitter.com/paulcuth)\n\n## Copyright and License\n\nCopyright (c) 2014 Agile Innovative Ltd and contributors\n\nReleased under MIT license.\n","readmeFilename":"README.md"}