{"_id":"@burgrp/i2c","_rev":"9-af52cb04482e1a57ae516f061bd8ddb4","name":"@burgrp/i2c","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.0":{"name":"@burgrp/i2c","version":"1.0.0","description":"## Example","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"debug":"^4.3.1","i2c-bus-promise":"^2.0.0","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"b59689ccbce66bcfe90098e04cc25c85ea910fed","_id":"@burgrp/i2c@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-JTVAFQK2nAR8zkur5v1xsxL7eU9ETRcx5X1zf0RuDAddVypQcvd3jfMzHQ4b8lR9xjjUuuOpQYhawSKRSzwUEg==","shasum":"62089990c300a1d0d9cfecf0743e8077817cd299","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.0.tgz","fileCount":7,"unpackedSize":13357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXj6pCRA9TVsSAnZWagAAXlEP/RislV447dDa7v9+/Tte\nig6MhM0cvYbTLoWecqcAeDqeeqDKcf13b4yVJjt6i9U1F+990UzICZEW6gwT\nzVdce7fx/bZn1CWKR0S5XDXyVKFIIrK6QCxvNH3cEf2eJDthzd7xlJSZ72Nn\nNwvx0HqFtrzeP0iPxhgwmzhRjTrH2LnF0pE+9WF688Wyh85dpkI466fzg9/b\nJVCrrFUPofxkxh0tTBIMbR3r7yBaZ+MRdPuhPQp926sJuKTKfzCzGJpHmvY2\nEgSBfKAfcalEPOKWXkcnAmZTYbHYaARVoxRLEcg2BroRQpJmpy1Y5o8wudsJ\nUS8L+Yt4Sxus+ZymCioWNLbMf/JVIHyfNcj5hMLnYlCd+eRSmaxR7U7VtwtZ\n7xLe+WokwZQP4hN4lWOfGLKBiCTRkSHNu/cjk6XFnDcS/mdEd38dN2CfllZP\nu9YLdBvbIJv6vTXN0tQuW1jT8GxxLvFmhPcrgpP2jnS6KP4nSVFdKg8k3CpW\nVHFLCk/9aexAWjEKtXaunWokpksIo8qZRXcZo4/igKBMq8Lx3Z82ovRtbFq+\nWt9JG7T28mPxGRfthBnlBaDBsXSRIy38BN6siaCMhvsEYGz0BjWpwNEEMH/o\n5IdwhM6CdWrn+LSfLkbxd2W9wHBkJF9izGLxhx/fsQMyBXbZE9eBWmH1LZ2u\n02Zc\r\n=cG9c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqaCvhhTOLy7cg1xN1n70js+ijbSuE2uuE9YNXJQcLswIhAOI8ca9nfi2tndaSCvGNH+2dXaZllIvQUWaVjjHZYZ/O"}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.0_1616789161221_0.15783051305902518"},"_hasShrinkwrap":false},"1.0.1":{"name":"@burgrp/i2c","version":"1.0.1","description":"JavaScript binding for I²C with support for multiple drivers","main":"index.js","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"author":"","license":"CC-BY-SA","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"commander":"^7.2.0","debug":"^4.3.1","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"d874df0b31a295fd84a70cfc9559e2c4ef82c393","_id":"@burgrp/i2c@1.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-J7GX2SzWcA1ZX4qwRsvaI16/7B6pYodKPcO8W6qTH4DHQAYIvraOgu7ATcuOr5lCwGz6V//Z42m3G7NDpr0LYQ==","shasum":"12f0f015fb1b494ba5d91f4a08a24306caf50ec0","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.1.tgz","fileCount":8,"unpackedSize":20557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgX5K6CRA9TVsSAnZWagAA8VEP/0ASePygAEaSMRUxBAEd\noUNssaj8QReALW5xbNt8oyepv5j4WPuvib+unOoWIZ5OrAFV2gADc9lYieaS\njB6+PakxmE75zGAuoGpPzC/3H++N6pk4EiFgXfuvCeqQRwLDkRLonj+0fxwr\nfrF/IAh65jlsSSBY9YxFoeAhjMOozmne2DPOLEkR81FdTyiRWEKSj1xpqZCn\n5s76VTNxeYC9NtPkHCjKgcbFibbattOzzdlwsM7w+3JxMuTmMGOJHf2/PusE\ncapG0vXQUmD3zcDi/Wi2jibEFH1+K8wAL71sGcS/0H4oLQKbqvmSywaDmIr/\naXsbfTt/crgNPsevmxGT5ElQrs2VP+XdbE5PlZrvEZ5MfYLjwSBUhqupEFX7\nmyGvcfLaP1osYZYEoBnprX8opYQ94pUDTg34of3bztC+cP1MGG+lTpjgY5sM\nSZHibsNgQ4kL5LrYyfkDUPeUWrHEe51GhZj+7SvXYi0QLsE6lLdHnFHPBQcg\nPXmmSGM+q+wvxu2SgqhpFpUykLdSPWUCnOQsenHtbwyETPIiWr2+jFih12DT\nbTVyGf6r5bqhSvN5GC0ocj+Z8HO7SYg1UHQF0vr4CYBP8anWE1RR6PCcwNlC\niL6Zhali97InDTCaZuObYEpmuaH3gzFmKs6SnB8h6en7p9GEMuDXrttq319+\nutil\r\n=l1v0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDypizO7opNYR/wHICOmg0KUWbwlodfYbNuloJ2k4zmcQIgWY7yYm/53QqZggxzladxQFcbe83z4/VfF8LffWiv2Ns="}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.1_1616876217888_0.021610871049374092"},"_hasShrinkwrap":false},"1.0.2":{"name":"@burgrp/i2c","version":"1.0.2","description":"JavaScript binding for I²C with support for multiple drivers","main":"index.js","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"bin":{"j2c":"cli.js"},"author":"","license":"CC-BY-SA","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"commander":"^7.2.0","debug":"^4.3.1","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"28e72d73d7d710b38e81002963ce9a6956ee5bb7","_id":"@burgrp/i2c@1.0.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-1rNsgMwefvC7hqj6sMOEOpVKL4FVlNwNhfZJiOtb0NkQfD97pJ1BzGYZFpTVTxWL5q+BjKjk7vVKQRO29yrlyQ==","shasum":"f8fed2f607ad95e7e40200abc0ba03f9b13d27be","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.2.tgz","fileCount":8,"unpackedSize":20616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgX5OaCRA9TVsSAnZWagAAZKMP/1y+GLAtGQpsX6+mgFjJ\nTkpgPMVTixbnO52Wfhu7xj5ZyBZ2tEPag5bioKKxzoWfAndqW0hg2odOM1tx\nqaE1QpGrt4n4gmAVmpn3pClLeWlzdj7XUXCNqqKSx6UzSuSfWX6lP6OjoGPR\nCmp6S8xFparGC/K/gd1mCMVcXXpEX2ghrSQKSYMXYAFhn5o7HhoLQ/DxTp3q\nOD8w0BfP+0G4EU2TOUkbpVgsMmZSxAByxN1JJObwqubVXJ0RiJO+s5MKaURL\nVzYv9eJ/E7S91i9X2ll7u5TTQQEji0SAruC0yYatKvtBFXe1tj1klJBvVr9i\nMERE8bJWS5bdlqGXyfWCNdwGO/Nw8Gcdu5FcU+SIwPJhth4GFItNdre4OPLj\nvmGyq9UdGjTOZrW3sxHuejrQjQoHokDKr/Yg6E9aQA9sa+KXqSZpFrAO64hV\n1fRc6Vgxp3ZRM7TiTdxJaRx9dVMxphyCjVOlgRSBS/nYCkYrNM/2R7gKbslc\nqQZfNQrXUs5tse18TmSsT7rG7zYELYkY4z/9HiqrqBgzXBp02qHudU/q6AA+\nwYeC1PoZD0c4ZJGYUUsyuF6FUZV86EQ9GT9+LDPAGAoiUu+i7U9ENgTzF06c\np7vpsssCSeWhdvpT0iOxe1IDuhfX7NRDwDytJ1OmT/Jc6XlZ6LTJiT9ZN8ZK\nY5VN\r\n=7UJs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfBvu6Awe+2b+0w6VcSHrysbbFXhazVMkzkTdxB4Tg1AIhAKOze0IdPakkDuA2ZpYpT9113aaxOB262rIDXcyVBE6Q"}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.2_1616876442233_0.28115412953074226"},"_hasShrinkwrap":false},"1.0.3":{"name":"@burgrp/i2c","version":"1.0.3","description":"JavaScript binding for I²C with support for multiple drivers","main":"i2c.js","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"bin":{"i2c":"cli.js"},"author":"","license":"CC-BY-SA","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"commander":"^7.2.0","debug":"^4.3.1","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"9d72718bafc76a7e740233192ffec4b39fbad524","_id":"@burgrp/i2c@1.0.3","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-QCiQwOO3XCzRxSktyn6rJWjZVcmrUQihZ0UAItl9ahbkGkbRgOyk01NUJkSA+iF1eZM6XHfiTcU2rClWRupeVw==","shasum":"5e5cf2f9a5b5ef6138ebad38b3cd27c3156cbd71","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.3.tgz","fileCount":8,"unpackedSize":20665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgX5VLCRA9TVsSAnZWagAAmLkP/1yfyPrSyDUSP/KJh7Oy\nOqTfNK2M7zbwe4ZfR4bRo7XL/YZxKF4KzhnpXl1rcZM5oc2aUmeK0fK+EgrA\n4q7VHR88nXjMlN6ASCmSj3x8Qwet35efzmTF4gtegYHeOP1k5C9j8aO9LJMS\nq1RdsfvFJfTVfwUBS296gTwE7/87dEGqLAx4fEqqQ4I25AHX9Qyp77J/hCoW\nR7v+4xg6PGoz/6AcDXob+92knIIhTJ/yvrYsK6AXtQA5Mz/11f7G4vsPK33n\n9aE++W2NZ3DiKuYQB/QnVXMduq/qUAnKVywgZZPhVM5eDnUK2Lab8o4nzojG\nortiCBUwOIceC71EDV70KgoYohy9tCCvK7uQI9LMO28l3KjHbR4hjHKRleny\nma2JiFvavO8kWHICWO1fiILCt4Z8TFbeM2pmsub1S78w/8tlw2KmKeOs1RcG\nWMn1xtwlmY2NzNGDl85nvcKQszgqqMf/XkBkx1PhojEyP6jUitjrZ9SxJq4L\nAUzUbqHxdbCcziiiCTTrXj2rF2DHCHWQE4YDujE8fw6k0h2+WCA2Heg66nUQ\no5PUiZLgyt6eofxcxO7f6SH+WJaue8Sv21SowJX/+U14qlRvjsofp8L/YW9r\nkFIUe5KFISV5wVw79nv73bZG2EZ0jfqGlWeCPpT7m0aArTFRk7EtX4CNpO9h\nsSi8\r\n=aBwi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbIyg9uzKcGGmsfTiO13ayrXTd+Aa7Lj23wbU3KA0wpAiBvsMzcjmqvEIxuF0CRn+e2etlP4o5PBFKtV8JY3Kvr4Q=="}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.3_1616876874776_0.5327545718843743"},"_hasShrinkwrap":false},"1.0.4":{"name":"@burgrp/i2c","version":"1.0.4","description":"JavaScript binding for I²C with support for multiple drivers","main":"i2c.js","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"bin":{"i2c":"cli.js"},"author":"","license":"CC-BY-SA","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"commander":"^7.2.0","debug":"^4.3.1","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"23af5beb09ec19b88e1f7a4a92fbc7e82feee7c3","_id":"@burgrp/i2c@1.0.4","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-unZSL4zvOvrE4mkNXFbuTCI90JQ9btbEMG4Pnqfug2GvTu+QiHvIn4vINLHSgSAouuU+t9G55qQ0dp4tN6HXYQ==","shasum":"912bc6a1b5a820ae4740f5651cf6049bef779ae6","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.4.tgz","fileCount":8,"unpackedSize":21220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgX6kGCRA9TVsSAnZWagAATOUP/38wgc/+ao5fCr+e5ORr\njPPiOxFJBvYp0JfHgGOZQrSoyesOFVHuPutPpapS93uJwq7MDGL+0Q9W2ghG\n73aHVTUkFnkR8s4R+UcbMoje06/X1MJgXkP2uG+9QvcFPzIZzTOrwbIU2EWd\nEN4gQ5xPbFQhpk3QuDJ1iciue4xqxFjsGASbn2l5LEV9PGyuDSU7+49xyQpX\nb2460UVlp0glFQE22TgSZoUGLiLqk/xTtfktDX65wo5vp5RvztObT3mGITXx\nWt4CTJw+tiY/gdrZVRtqQhbtF89VslWMlOvBvcRKp3cnXe5PCMlCWkQtZxFI\nUjgkxUq021O2OzYXwEc8S2AFxOiTLQZPf3jdGNxBJSPeDeYVHkjRANjK1VsS\nkSMutq2QUfoq89oQ1mq4zCihlIIvHqvloIqdWAFuu9EqJsoSIVx75bVvh4lM\noog/IS+DlBDGRlR1W5qVN9vHdTT6css3QtLMlo5Oj/Lzs1wqcn4njGnrxgAd\nNqI9NYnqrcZDjMAZouQayr+fu2yKZYTjXijqN0UWTLLbkHcU7COLwkWTqWcO\nIeY0IuYJ7j06nC+FUtKyskEbAIkqg95P3pZMt+AvdK17TDXO2JWk5bucZTUK\nRlU/F8uMtmUhgjTVoEx8EeB7tsGoCHFieC1B89S6xJybqljUEi420KrGC9f9\nsMlH\r\n=tYcN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZp7JXmSJ1NJ11bVIycHqNsROK1jrXxONN9X4HXORdPAiAGyTNaeK1IYbf4LiUFBAjKkRkhfHnRK1MpJFfhd+3Cvw=="}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.4_1616881926069_0.9306404809914091"},"_hasShrinkwrap":false},"1.0.5":{"name":"@burgrp/i2c","version":"1.0.5","description":"JavaScript binding for I²C with support for multiple drivers","main":"i2c.js","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"bin":{"i2c":"cli.js"},"author":"","license":"CC-BY-SA","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"commander":"^7.2.0","debug":"^4.3.1","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"375803a3c720e725b8abde64e5b2f6c82f4c972e","_id":"@burgrp/i2c@1.0.5","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-e9BHIF9M6J+Kyw6ecdhkZhWp7nVjAruiYe1kSUDKtQF9TwCmjpthJLT5FJ8YTsDtuvii7IODPPTALwhbV8SQrA==","shasum":"c7f9e6813b4b4c08141aed8d24e8d943348ccfd3","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.5.tgz","fileCount":8,"unpackedSize":21220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgX6kgCRA9TVsSAnZWagAAkLUQAIegCPlqnaCw3or6UFvd\nRKUbIoRvEkKKX3HUmwy3lia5QLvVcdmI1j8d6ud85+b9jGcThsa6HsBHK7RM\nq5V9BV3nnIVP9Jsi4Q46mh+p77yWEGTdFnWbLwBwJDFW8mDEmQtGqLoW6p7E\nqeIF51/BQZ7tMuAaSMP06i4evO7vUKKYBHztIJioGGGt2JEUYwwY0x3vT8/C\n8cFJdM8URFVWThNoxxUKhQGmQ40u8kwbA7KzxhsOo5gd6YIUX4xFlAKCC6/t\nTFETpf10J4CrxmKhmz2pzNyQUikmyT9uLd2zMRJixNIBySy+ab6spYgQN/Yy\nYDMQrV1mq6uHIeg3GJoO9BkNUVJTBMlfgcxSDc4teq2BiniLWM0lDz1jUL3Y\n5T6590PtvN49hW5RmcI0rmVQg0MVJA/6tOzxjQi6Nma+NraUgYR5fAP0LCpJ\nsuSiJeYtvgsmnfDrCRfa8oNm2+Jnf/4zXfEfCwj6I2jFCsqy70d8H8XgTpeA\n0kiR4gK2Bz4Sn+HSwQKI0w3ARLtzlNczzKkT8/LjYkYx3aZJ/M0GWvEAot1q\nBDrnnG9vpZeM0YLT0/MflbWNmezH+X2PSjzATOmpx/wONGXpON4QzD3na+ko\nh5dei/7mbF3zRhLoA1AtcZjWnYY6oCwX3j31VZA/LQdd4cazPe0hrQqYeiOy\nekMm\r\n=L9g5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCc+lahGxy65NqO2LrlCnQ/2TOPJXtEFXzQbj6PvD4CggIgHU1i/vyiduLLuG6f3jYJ6c7kPOujigGKHUUGFTFzA1Q="}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.5_1616881952467_0.3765881362832151"},"_hasShrinkwrap":false},"1.0.6":{"name":"@burgrp/i2c","version":"1.0.6","description":"JavaScript binding for I²C with support for multiple drivers","main":"i2c.js","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"bin":{"i2c":"cli.js"},"author":"","license":"CC-BY-SA","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"commander":"^7.2.0","debug":"^4.3.1","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"3e44db14d9ba01368a527cbbbb3273d3fbdf1d5b","_id":"@burgrp/i2c@1.0.6","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-POkBn9JoKRCgx4rBDpT7t2dpOng8lRlBB7GTxCe4YF+ek23SH1Kw8Z+kmPnTZzRwUbsVI3n4Q9NYN45ZTd3g2Q==","shasum":"c9cc43aa691d70e04ecf79d540aacecaf64b259d","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.6.tgz","fileCount":8,"unpackedSize":21192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY6icCRA9TVsSAnZWagAANWAQAJUz3pVL8pPuEyDi1ISv\n0r6TNlZH/gie7WzGYSOjwntqHZluGen57FJ/3GGLU5cCge2PHijkZr2j4Jx2\nxpMAf+BWV2kPaWFFs8GEP2WIzmxAw6jgh3ITrZ5Pa6Pv5MPhdaaveIB3hirr\n7O9RNbQ8eTjr/t8D0qvntWLDZg7BTeBSuNEFGC7rDD+NYe5kjDg5Y3cUhKLF\nDAyMpG06xgh0blD9Rzz0qqJdEik4/FKAQchEnINzSuLogUtYdo/k1Oyl7ZF7\njU+NDO22OKOQYkBAt9ekZ2DhLCwVjDQIGX9qTcd+7/lk6PY6ngNuRSeTNjyy\nbA2ytdx2UTtcSlkXkdnzfuoye2p85gvB3r1qr7nJpYIlKpSU7P5UIISKYJmp\nFTS6hUnCdu51KqXEf0PPTA7qDOzFPK0C6cWhN5I8EFPkoQErFmv+/lVlfH13\n4Ixa3ieoosCiuxakRsGGileWc9nfHZE8BzXoTuve+/PWTVeTImlfurtSYD7a\n/HInrjuw9HcW1uWDRVHawzPinDqu7ioNC9dZ9Ms3CPPvCEmVO9TEx79B89yt\nfu9dYI3efDO0U4+sSkgKJ+X8xKJxBBEkZ3zbbQJDc++EpYduCsGZENi1on7T\nSNhiV02QgF4cm6CRkV1HbCrNjxkCytC6of3UfgmX7TtplGK4K+27M4KWtxVE\nQehv\r\n=aWMx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmQt9I2PRax7AhSbH8t3M+Om6DvjylPu5A9D/sC3ek8wIgbujMJLSTr4lJxWTqxz7Ps3TQwR8SVdajxihbL+IjO0E="}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.6_1617143964122_0.9384440269046963"},"_hasShrinkwrap":false},"1.0.7":{"name":"@burgrp/i2c","version":"1.0.7","description":"JavaScript binding for I²C with support for multiple drivers","main":"i2c.js","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"bin":{"i2c":"cli.js"},"author":"","license":"CC-BY-SA","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"commander":"^7.2.0","debug":"^4.3.1","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"58d11226b7bb6fb2b822b324307151731e7acc39","_id":"@burgrp/i2c@1.0.7","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-hxU9cRuVtNjaWyffmzw4B1Ad/o7qHFPbPwYgsdHdEeU3dANvVhsGVa0ydzGO7KnUC5Jidc2rmib2orrdXdxINA==","shasum":"1baa251bc02eefeed32c3fff1a84fd8e71c3a2b3","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.7.tgz","fileCount":9,"unpackedSize":24701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4xHbCRA9TVsSAnZWagAA7WcP/jRCKpROj/Zv7nZClp08\nKBntzEIs9hZcNzFDEbFmLr1sqL94DHYXjFoq2UNgCnfG02it8tavDD1LLM7a\nyqSIiJUgJA3HnBgD5hsasS2fudKaPLJd012rmeyG8TSmXQTaPkScJ5bcLjmu\n+sJDmgAUt+IFnOu0ucfgVFjJf7QapGTdhf1zIxHPIOMRC0wXdoqKLpPFowUS\nueFqk4Msrted3UPu4fUGuhXZ94A8VDh71gyWK6YjqGB6zBGGmGH0gdeVB0xe\nSBtgqouTPfVVRLxJgVcvrYHjsx3jXkn+gpYt38W1VBuNAU2k324N9Q8XzPRj\nbw24QV3VU0v8PGbjx6KFbbD/Ye7E6dgTNGDtuQZt0WbhkX9jB71jhoGkRaYV\nPs4jk5leAiiNU1xnvpU0PLnM7pXa3HG7yRTdG7NefybctpUUSxdRFEQOE7Pt\n0XxMVJ5XwlkSAp+wTaY6S5KPrjEU1U9S7u6CgAXuTMfCqkRQf40dZ+ZRGjQ3\nhiqyoEn6yF2hiXmkJ6rWILn5MlN6Qij8axFMHyMMJ6xiUKpPD3VAtod4vn7h\nYiV2NrCO3JkJiYv6aNDQH2RNqvaO4EINj7Qbmxl6YSVGazzleS7qL53wUhSC\nhejGbmxrBJzkJ7UTEwkwVbx+2urpuvwWOG14/neqkT6Wryy56+WVaZs9Z0J6\nvkrk\r\n=hc6y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4z1W+7sBlrFfWsUxKL6ISvTDgTCgBp9FIDuoIOnUwVAiEAkW+jo8GyEAskfivve0bRkq3FS93wIM0wn6F2KtAO95Y="}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.7_1642271194865_0.3363585370980433"},"_hasShrinkwrap":false},"1.0.8":{"name":"@burgrp/i2c","version":"1.0.8","description":"JavaScript binding for I²C with support for multiple drivers","main":"i2c.js","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"bin":{"i2c":"cli.js"},"author":"","license":"CC-BY-SA","bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"homepage":"https://github.com/burgrp/i2c-js#readme","dependencies":{"commander":"^7.2.0","debug":"^4.3.1","promise-critical-section":"0.0.2","usb":"^1.6.5"},"gitHead":"aadc1c5875c56212990a4fdb8655291dbed65291","_id":"@burgrp/i2c@1.0.8","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-1HTYbdX7eQvtkSbIdJz6ErXICUsgnp7pUv/+IcvLRVjz2E2KBj3LGrJuZ7dIVrlU62H8IJTyZDCIvW/FLL1wNQ==","shasum":"b62a56017891ac7c9611a1003787f98a4fd4f779","tarball":"https://registry.npmjs.org/@burgrp/i2c/-/i2c-1.0.8.tgz","fileCount":9,"unpackedSize":24638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4ypuCRA9TVsSAnZWagAAV1kP/jxNeOGPsH/mCjgJySD5\nJw7YbZS1GM1Vxs0TCRZ3bN/Yw0t8b9kx6+Rwu2V7bUV80qh7MJw4+REY+s8R\nBAZrbUNnDf0xLnvdtDKhcTuLimZdfLWTlECCYGgrRH68YSXhC+rZ+khhLL4V\n15NpYOnw15IAekQa4P9AueOfvFTuejll/RvTa/pKN9qXgkghSB2qAKhkal1I\nMrUGTooOtw7FD2HYFWcVODoonRnZGp4fDzeJhkufZt+4+q3kdTcLd8+LDdtS\no+zWf6TTPnm4AJphhH8S3spmQ8JpcWA7a2v2J3RWlk8OXbEP3HWHq4djEwHj\ndWr7Dvw3RraX+w1SWcgY2DXZhrE+AqPLT5VrfN5piSfmN4vvs65oejubJuP+\nu4X2/cy64AHS7ekSk2PrER3ocABsmPfgDQZywf23r80SOV9wNgdqswzwEFWv\nMrvKcCab5qJTnt/1uyxMeGejTMKOMy6A3ahYhhqaiH720059uutuSMFaLdGc\nKod1QB7QP/BvN/mf1vLr5FvQsjO2NgxsMtGLyHgdC73eu9u7yM0tA4Q5pcXi\nEeIRwbVCzFbjiRkuGe7FXlRmU8KIQcO8E4VF5YqQMusVTo+abANRpfsMJ+Hl\n7MFqw1lc1HOzTw8RGzcHPrkK07FOs6VRyw0U1tPT2C1vnoUiYZN0rcyvbOPl\njwrL\r\n=GSsY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4sdWQOoEi/+GF8sA+hMYNP6X5FrUbcP3qkBrWj6SxrgIgNzvk9jFGkSKDF5F6YiUSb/kQZ5FC7g+GleN4ZZt+/xs="}]},"_npmUser":{"name":"burgrp","email":"pb@drake.cz"},"directories":{},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/i2c_1.0.8_1642277486391_0.52484745705045"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-26T20:06:01.190Z","1.0.0":"2021-03-26T20:06:01.356Z","modified":"2022-04-04T21:07:26.306Z","1.0.1":"2021-03-27T20:16:58.047Z","1.0.2":"2021-03-27T20:20:42.405Z","1.0.3":"2021-03-27T20:27:54.914Z","1.0.4":"2021-03-27T21:52:06.183Z","1.0.5":"2021-03-27T21:52:32.643Z","1.0.6":"2021-03-30T22:39:24.247Z","1.0.7":"2022-01-15T18:26:35.052Z","1.0.8":"2022-01-15T20:11:26.540Z"},"maintainers":[{"name":"burgrp","email":"pb@drake.cz"}],"description":"JavaScript binding for I²C with support for multiple drivers","homepage":"https://github.com/burgrp/i2c-js#readme","repository":{"type":"git","url":"git+https://github.com/burgrp/i2c-js.git"},"bugs":{"url":"https://github.com/burgrp/i2c-js/issues"},"license":"CC-BY-SA","readme":"# I2C-JS\n\nJavaScript binding for I²C with support for multiple drivers.\n\nTo support auxiliary signals (such as interrupts), the library allows GPIO configuration, reading and writing.\n\n## Example\n\n```js\nconst I2C = require(\"@burgrp/i2c\");\n\n/**\n * This example reads temperature from LM75A sensor.\n * Please check the address - 0x4F means all address pins are pulled up.\n * Furthermore we configure output pin 5 connected to LED \n * and we turn on the LED if the temperature is above 25°C.\n */\n\nasync function start() {\n    let i2c = await I2C(\"drake,gpioLED=5.out\");\n    try {\n\n        let data = await i2c.i2cRead(0x4F, 2);\n        let temperature = data.readInt16BE(0) / 256;\n\n        console.info(`It is ${temperature}°C`);\n\n        await i2c.setLED(temperature > 25);\n\n    } finally {\n        await i2c.close();\n    }\n}\n\nstart().catch(e => console.error(e));\n```\n\n## Configuration\n\nThe library uses a connection string to select and configure the hardware I²C interface and GPIO.\n\nThe connection string selects the proper driver and further configures the driver if necessary.\n\nFormat of the connection string is:\n```\ndriver,property1=value,property2=value,...`\n```\n\n### Implemented drivers\n\n#### driver `sys`\n\n<!-- \nThere is a driver to access I²C and GPIO provided by operating system / kernel. This is the driver used on Raspberry PI like computers. The driver just delegates calls to JavaScript libraries ....\n-->\n\n__TBD__\n\n#### driver `drake`\n\nThere is a driver for [Drake USB-I2C bridge](https://github.com/burgrp/hw-USB-I2C), which is handy while developing or debugging on host computer. If not specified otherwise, the driver looks up for device 1209:7070. \n\n##### Driver options\n- vid - VID of the device, optional, defaults to \"1209\"\n- pid - PID of the device, optional, defaults to \"7070\"\n- serial - Serial number of the device, optional\n\n##### Example\n```\ndrake,serial=C639ADEE2184FFFF,gpioIrq=5.in.pullUp.irqFallingEdge\n```\n\nThis selects the Drake USB-I2C bridge by given serial number (thus allows to distinguish between multiple connected bridges) and configures pin 5 as pull-up input rising interrupts on falling edge.\n\n### GPIO configuration\n\nThere is a generic, driver unified, way to configure GPIO pins. \n\nOn library API, pins are referred by pin names rather than physical pin numbers. This allows higher level of abstraction. Properties of the connection string starting with `gpio` prefix are treated as GPIO configuration. The connection string can contain multiple GPIO configurations.\n\nPart of the property key after `gpio` prefix is the GPIO name. \n\nValue of the `gpio?` property is a string with options. First two mandatory fields are pin number and direction. There are other options, which depends on pin direction.\n\nThis is an example of USB interface configured with two pins, first one called \"Trigger\" mapped to pin 6, which is open drain output with internal pull-up enabled and the second pin is called \"Irq\" mapped to pin 5 which is input with internal pull-up and firing interrupt on falling edge.\n\n```\nusb,gpioTrigger=6.out.openDrain.pullUp,gpioIrq=5.in.pullUp.irqFallingEdge\n```\n\n#### options of output pins\n- openDrain - configure pin for open drain mode, if not set pin is configured as push-pull\n- pullUp - enable internal pull-up resistor; this option is valid only in open-drain mode\n\n#### options of input pins\n- pullDown - enable internal pull-down resistor\n- pullUp - enable internal pull-up resistor\n- irqRisingEdge - fire interrupt on rising edge\n- irqFallingEdge - fire interrupt on falling edge\n\nOptions pullDown and pullUp can not be set simultaneously.\n\nOptions irqRisingEdge and irqFallingEdge can be set simultaneously, in which case the interrupt is fired on any edge.\n\n## API\n\nLibrary main module returns factory function which takes connection string as argument:\n```js\nconst I2C = require(\"@burgrp/i2c\");\nlet i2c = await I2C(\"drake,gpioLED=5.out\");\n// now we have the i2c bus\n```\n\n### I2C operations\n\nI2C read and write operations are straightforward:\n\n```js\nlet buffer = await i2c.i2cRead(address, length);\n```\n\n```js\nawait i2c.i2cWrite(address, buffer);\n```\n\n### GPIO operations\n\nAlthough there are two generic R/W functions available (`async gpioRead(pinNumber)` and `async gpio(pinNumber, value)`), preferred way is to use dynamically generated getters and setters named after pins:\n\nWith connection string as follows:\n```js\nconst I2C = require(\"@burgrp/i2c\");\nlet i2c = await I2C(\"drake,gpioLED=5.out,gpioSignal=4.in.irqFallingEdge\");\n```\nwe have two pins: output called `LED` and input called `Signal`.\n\nThen there is dynamically generated setter for `LED` pin:\n```js\nawait i2c.setLED(true); // turn the LED on\nawait i2c.setLED(false); // turn the LED on\n```\n\nAnd there is dynamically generated getter and interrupt handler registration for `Signal` pin:\n\n```js\nlet signalValue = await i2c.getSignal();\n```\n\n```js\ni2c.onSignal(async () => {\n    console.info(\"Signal received!\");\n});\n```\n\n### Closing the device\nAlways call `close` asynchronously. It may take some time to close the device due to pending IRQ event listener.\n```js\nawait i2c.close();\n```\n\n## CLI\n\nI2C-JS comes with simple command line tool `i2c`:\n\n```\nUsage: cli [options] [command]\n\nOptions:\n  -V, --version             output the version number\n  -c, --connection <value>  connection string, defaults to I2C environment variable\n  -h, --help                display help for command\n\nCommands:\n  read <address> <length>   Read data from I²C device\n  write <address> <data>    Write data to I²C device\n  scan                      Scan I²C bus for devices\n  get <pin>                 Get value of the named GPIO pin\n  set <pin> <value>         Set value of the named GPIO pin\n  wait <pin>                Wait for interrupt on the named GPIO pin\n  help [command]            display help for command\n```\n\nCLI can be installed globally as follows:\n```shell\nsudo npm install --unsafe-perm --global @burgrp/i2c\n```\n","readmeFilename":"README.md"}