{"_id":"@particle/device-control-util","_rev":"40-5ee45dfd19f305614affdfa6cb25d843","name":"@particle/device-control-util","dist-tags":{"latest":"1.1.3"},"versions":{"1.1.0":{"name":"@particle/device-control-util","version":"1.1.0","author":{"name":"Particle Industries, Inc."},"license":"UNLICENSED","_id":"@particle/device-control-util@1.1.0","maintainers":[{"name":"guohui","email":"guohui@particle.io"},{"name":"sbrust","email":"scott.brust@particle.io"},{"name":"busticated","email":"itsbusticated@gmail.com"},{"name":"particlebot","email":"engineering+npm@particle.io"},{"name":"no1089","email":"chris.fourie@particle.io"},{"name":"carlos.hdez","email":"Carlos.Hernandez@particle.io"},{"name":"keeramis5","email":"keerthy@particle.io"},{"name":"monkbroc","email":"jvanier@gmail.com"},{"name":"suda","email":"admin@suda.pl"},{"name":"jgoggins","email":"joe@particle.io"},{"name":"elijthomas","email":"eli@particle.io"},{"name":"jhagerman","email":"jhagerman@particle.io"},{"name":"mstan","email":"npm@1379.tech"},{"name":"sergeuz","email":"sergeuz@gmail.com"},{"name":"cullenshane","email":"murphy.cullen7@gmail.com"},{"name":"debbie23","email":"debbie@particle.io"},{"name":"jtzemp-particle","email":"jt@particle.io"},{"name":"avtolstoy","email":"avtolstoy@gmail.com"},{"name":"mlauer","email":"matt.lauer@particle.io"},{"name":"wraithan","email":"xwraithanx@gmail.com"},{"name":"toolboxbot","email":"wojtek+toolbox@particle.io"},{"name":"azenk","email":"andrew.zenk@particle.io"},{"name":"shewy","email":"mike.sheward@particle.io"},{"name":"bwalach","email":"brett@particle.io"},{"name":"kisha","email":"kisha@culturepurveyor.io"},{"name":"parteberseth","email":"eric.berseth@particle.io"},{"name":"rickkas7","email":"rickkas7@rickk.com"},{"name":"mrlambchop_particle","email":"nick@particle.io"},{"name":"jaime171","email":"jaimesalvador.simental@gmail.com"},{"name":"hugo.montero","email":"hugo.montero@outlook.com"},{"name":"toddparticle","email":"todd.stellanova@particle.io"},{"name":"renemendoza","email":"rene.mendoza@particle.io"},{"name":"ianrgz","email":"ian.rodriguez@particle.io"},{"name":"mphsi","email":"mpaul.hernandez@gmail.com"},{"name":"deleonnmdn","email":"joel.dl08@gmail.com"}],"dist":{"shasum":"07fa096111825b50f16a3fa79c5b980071ffd478","tarball":"https://registry.npmjs.org/@particle/device-control-util/-/device-control-util-1.1.0.tgz","fileCount":8,"integrity":"sha512-WrR4mdIwenEOd304sybRPpsUZDF1WkAzX3cUIHexIjfnJeEoqlp3CDM6esP4yclIfB5d5GNlJcWPnPbw21pnrA==","signatures":[{"sig":"MEQCIDU5lm9nvfMnRSKs3+DKRJmSiwL03fo61s0G3bFbROeHAiBk/G/V4r8Ds7TprMGaTZN6d6Lq7iS5Kkp40NatY2UHnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBCKeCRA9TVsSAnZWagAA/ggQAJ0PLpJ0c2JX+uK+vG2a\njV2gCLGupuSkKp4k6scyhldgLvSoUbqK0Qh7M7+DgQzZ1SOfaSozN198DgaC\n9reXr1kc9/ipNttBlFOnojYzdkYbx3wPjOKrU3Gy1lvOsB8vuTJxywzGLEbu\njF1YDne393b5sAupz9KdsXEJU/mPc9dfMF7K49+2Tc2tczyy3+tt1deZ/lXp\n6FuTFcVIua2SMtqndmDhElVLewQ+h2Nm8Fg2IvfT+RPo0qVWHRVeb2CGA1ot\nhndWvdI6w3miWDLIwxl9mTg6J9yNxvVtrWE3RJXHL6ivEkzzhQQfYI6DCCIW\neXZFBZkJuSB3g89gpyHLZ+9Jv7++/yzI4pj+BAeKTbAjkO74/6SRU0Y/31/e\ni6a9If/sbV9Tm+fL4WL+OYgXBUfVKXwydqg7Q7qb5rje0l/mk10oCL84WbBw\nwtvHe8l+pJimom8iPVvYR9KKrt7bPSeloX1IHAbWNEaDZb7OkoCvotuyaJIp\ngItDimw5WPItwtZcQrbKqr3dBkOfYSgsj8vuMd3A/zNEVtjT8UsVk07/M2dD\nmqGnugN9OTrnjzNBQVJi9LUlgIcc0XRpCawLlHF6pfuUQrJiLbKGke7HM6cB\na7tw/5VX3QO+IxnWjUT7tjpRzMEc8KuMCRFwxCQydtqDZNYg5UKaYn3lPsQQ\nWxEV\r\n=4286\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c527539f987401083fb3fcdb237ca3560326827a","scripts":{"docs":"npm run docs:jsdoc2md > doc/api.md","lint":"eslint .","test":"npm run lint -- --quiet && npm run test:unit -- --forbid-only && npm run docs:jsdoc2md > /dev/null","version":"npm run docs && git add doc","lint:fix":"npm run lint -- --fix","test:unit":"mocha","docs:jsdoc2md":"jsdoc2md --files='lib/**/*.js' --no-cache --module-index-format=none --global-index-format=none"},"_npmUser":{"name":"particlebot","email":"engineering+npm@particle.io"},"_npmVersion":"lerna/4.0.0/node@v12.22.10+x64 (linux)","description":"Utility classes and functions for Node.js and browsers","directories":{},"_nodeVersion":"12.22.10","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^9.2.0","eslint":"^8.8.0","chai-bytes":"^0.1.2","jsdoc-to-markdown":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/device-control-util_1.1.0_1644438174600_0.7828923224517317","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@particle/device-control-util","version":"1.1.1","author":{"name":"Particle Industries, Inc."},"license":"UNLICENSED","_id":"@particle/device-control-util@1.1.1","maintainers":[{"name":"guohui","email":"guohui@particle.io"},{"name":"sbrust","email":"scott.brust@particle.io"},{"name":"busticated","email":"itsbusticated@gmail.com"},{"name":"particlebot","email":"engineering+npm@particle.io"},{"name":"no1089","email":"chris.fourie@particle.io"},{"name":"carlos.hdez","email":"Carlos.Hernandez@particle.io"},{"name":"keeramis5","email":"keerthy@particle.io"},{"name":"monkbroc","email":"jvanier@gmail.com"},{"name":"suda","email":"admin@suda.pl"},{"name":"jgoggins","email":"joe@particle.io"},{"name":"elijthomas","email":"eli@particle.io"},{"name":"jhagerman","email":"jhagerman@particle.io"},{"name":"mstan","email":"npm@1379.tech"},{"name":"sergeuz","email":"sergeuz@gmail.com"},{"name":"cullenshane","email":"murphy.cullen7@gmail.com"},{"name":"debbie23","email":"debbie@particle.io"},{"name":"jtzemp-particle","email":"jt@particle.io"},{"name":"avtolstoy","email":"avtolstoy@gmail.com"},{"name":"mlauer","email":"matt.lauer@particle.io"},{"name":"wraithan","email":"xwraithanx@gmail.com"},{"name":"toolboxbot","email":"wojtek+toolbox@particle.io"},{"name":"azenk","email":"andrew.zenk@particle.io"},{"name":"shewy","email":"mike.sheward@particle.io"},{"name":"bwalach","email":"brett@particle.io"},{"name":"kisha","email":"kisha@culturepurveyor.io"},{"name":"parteberseth","email":"eric.berseth@particle.io"},{"name":"rickkas7","email":"rickkas7@rickk.com"},{"name":"mrlambchop_particle","email":"nick@particle.io"},{"name":"jaime171","email":"jaimesalvador.simental@gmail.com"},{"name":"hugo.montero","email":"hugo.montero@outlook.com"},{"name":"toddparticle","email":"todd.stellanova@particle.io"},{"name":"renemendoza","email":"rene.mendoza@particle.io"},{"name":"ianrgz","email":"ian.rodriguez@particle.io"},{"name":"mphsi","email":"mpaul.hernandez@gmail.com"},{"name":"deleonnmdn","email":"joel.dl08@gmail.com"}],"nyc":{"exclude":["**/__fixtures__/**","**/*.test.js"],"include":["src/**/*.js"]},"dist":{"shasum":"9ac5b25ce1453ec10f5fecfa562a282953939eb8","tarball":"https://registry.npmjs.org/@particle/device-control-util/-/device-control-util-1.1.1.tgz","fileCount":6,"integrity":"sha512-zmR7jxo+b7MMNi2KXu2H0/njyjp+dCFZ8dXCWw7fvhjLmQpeDO/oibz9NmZz9lkA1zVt114E7jNDSF0VZIOvOw==","signatures":[{"sig":"MEUCIEOgCrHX3PLtYbhSbOM/hy8W8/DIaM76svNd7TjQ2v85AiEA6jDlPZJ24ZGGEJVsJhdoui4tnH0smnNAlIWjIQ/WuQU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDpYjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtbQ//THoCxOgbWBLEob91l+pvcqfTt4rLaKrhM/k/B9wnSNLRaKFg\r\nr3Y2tCgThRKznCgkhcXxmA3x0Ai1UA67olIzzqcCmPkmUO5DE+lK7uVqix0R\r\nTWtxt5qDLOSiyGQAr+tUrtK4LSgosjCU0M19YpAdH1J8IevKomp8oA+Js79L\r\nlt8m9AcGYp7wnAdnKiy1W/HHIXDEuQdRIawZfH5tuQ0kUd+nmylIxQKgOLCx\r\nmJlAf2YvZDDK2thlTU9+p0563JO6FrZ3OdPu9WmhNu0U8gPBR02OXiH2AUAa\r\nOi5of+4jh/xiDugI+w7xrS1iK9qkB1akdcA939Ks/uYDrg6jv10x/vwHYJgx\r\nvHuPyaiYsbjcR0XImhoB6Pf2S6kFO5YaCNOjahqHFsIlS2dx+5O6mMzMPzZ8\r\nv38ZdeI+EPSU42bJO4lS7uLm5n4KWG0QizD9MeRRHmYVXf7ulBBl2Rj6Oa/+\r\nUjWXGiCBZnbm0UxUn6FJifWZUya4/KDqj0PYLlxQbtMvyjgjwUcAZbs3oM99\r\nNFgNm5bAWsRSok6+1vy6Gt643xgOiE5wPeZcF7w7OXX09BBql31LNTXk0nZp\r\n+JMiE34rThgJ0IcClJYgBJrCVRgJpX8abYjXAtKq/NdTjUzy6FWzcEPxv9Ms\r\nOw1N421nNKJGb3t++36RS0nTtiZGqFeZBNU=\r\n=5d7+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.js","engines":{"npm":"6.x","node":">=12"},"gitHead":"8a70598498096c4ee61971de7bec030863e52da0","scripts":{"test":"npm run test:unit","clean":"npm run clean:modules","test:ci":"npm run test:unit -- --forbid-only && npm run coverage","version":"npm run changelog:update","coverage":"nyc --reporter=text --temp-dir=./tmp/ --check-coverage --lines 99 --all npm run test:unit:silent","test:unit":"mocha './src/**/*.test.js' --color","docs:build":"node ../../bin/build-docs.js device-control-util","clean:modules":"rm -rf ./node_modules","test:unit:watch":"npm run test:unit -- --watch","changelog:update":"node ../../bin/update-changelog.js device-control-util","test:unit:silent":"npm run test:unit > tmp/test-unit-log.txt 2>&1","test:unit:inspect":"npm run test:unit -- --inspect-brk"},"_npmUser":{"name":"particlebot","email":"engineering+npm@particle.io"},"_npmVersion":"lerna/3.22.1/node@v12.22.10+x64 (linux)","description":"Utility classes and functions for Node.js and browsers","directories":{},"_nodeVersion":"12.22.10","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/device-control-util_1.1.1_1645123107749_0.19741347958283373","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@particle/device-control-util","version":"1.1.2","author":{"name":"Particle Industries, Inc."},"license":"UNLICENSED","_id":"@particle/device-control-util@1.1.2","maintainers":[{"name":"amaury.particle","email":"amaury.aparicio@particle.io"},{"name":"cole-abbeduto-particle","email":"cole.abbeduto@particle.io"},{"name":"pedrosordo","email":"pedro.sordo@particle.io"},{"name":"rowan.hamilton","email":"rowan.hamilton@particle.io"},{"name":"guohui","email":"guohui@particle.io"},{"name":"sbrust","email":"scott.brust@particle.io"},{"name":"busticated","email":"itsbusticated@gmail.com"},{"name":"particlebot","email":"engineering+npm@particle.io"},{"name":"no1089","email":"chris.fourie@particle.io"},{"name":"carlos.hdez","email":"Carlos.Hernandez@particle.io"},{"name":"keeramis5","email":"keerthy@particle.io"},{"name":"monkbroc","email":"jvanier@gmail.com"},{"name":"suda","email":"admin@suda.pl"},{"name":"mstan","email":"npm@1379.tech"},{"name":"sergeuz","email":"sergeuz@gmail.com"},{"name":"debbie23","email":"debbie@particle.io"},{"name":"avtolstoy","email":"avtolstoy@gmail.com"},{"name":"mlauer","email":"matt.lauer@particle.io"},{"name":"wraithan","email":"xwraithanx@gmail.com"},{"name":"toolboxbot","email":"wojtek+toolbox@particle.io"},{"name":"azenk","email":"andrew.zenk@particle.io"},{"name":"shewy","email":"mike.sheward@particle.io"},{"name":"bwalach","email":"brett@particle.io"},{"name":"parteberseth","email":"eric.berseth@particle.io"},{"name":"rickkas7","email":"rickkas7@rickk.com"},{"name":"mrlambchop_particle","email":"nick@particle.io"},{"name":"hugo.montero","email":"hugo.montero@outlook.com"},{"name":"toddparticle","email":"todd.stellanova@particle.io"},{"name":"mphsi","email":"mpaul.hernandez@gmail.com"}],"nyc":{"exclude":["**/__fixtures__/**","**/*.test.js"],"include":["src/**/*.js"]},"dist":{"shasum":"c047b1c276203a18f7ffedacc27627e8025c2dec","tarball":"https://registry.npmjs.org/@particle/device-control-util/-/device-control-util-1.1.2.tgz","fileCount":6,"integrity":"sha512-5e9/axTXBlB9nqQdjkffscTG/NR6mZrdwjRqhj03g9Vef6W3K3SzUM22k4q+RZH9m02nwQN7P7k1WiwGudO5aw==","signatures":[{"sig":"MEQCIEGwb1CtDyNA6Y59YJhuOY22/wru6en0Q9pm4gyW6j/RAiA2RUqqTzf4J4FCXb1ZtGcjKN5DQg3gM8rIaRRN5Bljzg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8p7gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqteA/+PsIsncPSEdr623unJTdYKQtM8mQpzKHOzUuewM6qmKwWH1k2\r\nAb8e/aSBOaFRqSzEwiwbcR9gkWCf7JsRbTAIasrCVQ1L0a8d18HBrWSTG3Lq\r\n06L/BjrLTAY9p0UHcS23r5WoadlfX62j/yCSsixUoEOqysZz92bgSQt36yO4\r\nk86sk6o+NEtkkXOS8LJNx0eQFSqk0+wKkG68VvvYhxkjELtk5dumbCS0cxed\r\njOKneQy7rbhMf3r02OKeI8ZkEjM8qLlUL1dFqmAjw2O15PrCrRpw6EAceOo1\r\ncNhCKg3Uq0EN4x3R5dPQSQ5pfXJkfr7f8y55pM0djW+bCWHkuZYyz6AlUT4f\r\ntvnwMwtYFay9D1H7QJRzgkV4sWRvuUV2GOXXxwa3YMZrNx9dKMVW1eeRocp2\r\nZRX+5D9yh6GfdBDj2slPZgG5za/ikhv8/3xIkV3DVwL097+rGNLOTcNiJ3Tb\r\nekPRm3zmhGU9WZQ06QDYsjU3DEICBOR72FqGdjQ/nSBaR0suIXhqCIVUlkTk\r\nv/H8HTFGB4uLEXzQufzQdHdvlGiqvwDP8uYrKpdBE70sUYtLrKum7YsCIwug\r\nDQNivmLFtNdAF7zFej3LZ1bjqmHG3tr4Unjbk+aNIb+5DAtxEhSUuQbPqkO0\r\n4vFwgU5dcOkEHCffm42UE+Oyoc9bWUQhlHU=\r\n=e+gF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.js","engines":{"npm":"8.x","node":">=12"},"gitHead":"fe74d30adf5da8e83bc9c39da3be894a55ee6e56","scripts":{"test":"npm run test:unit","clean":"npm run clean:modules","test:ci":"npm run test:unit -- --forbid-only && npm run coverage","version":"npm run changelog:update","coverage":"nyc --reporter=text --temp-dir=./tmp/ --check-coverage --lines 99 --all npm run test:unit:silent","test:unit":"mocha './src/**/*.test.js' --color","docs:build":"node ../../bin/build-docs.js device-control-util","clean:modules":"rm -rf ./node_modules","test:unit:watch":"npm run test:unit -- --watch","changelog:update":"node ../../bin/update-changelog.js device-control-util","test:unit:silent":"npm run test:unit > tmp/test-unit-log.txt 2>&1","test:unit:inspect":"npm run test:unit -- --inspect-brk"},"_npmUser":{"name":"particlebot","email":"engineering+npm@particle.io"},"_npmVersion":"lerna/5.3.0/node@v16.16.0+x64 (linux)","description":"Utility classes and functions for Node.js and browsers","directories":{},"_nodeVersion":"16.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/device-control-util_1.1.2_1660067551891_0.057787611193118815","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@particle/device-control-util","description":"Utility classes and functions for Node.js and browsers","version":"1.1.3","author":{"name":"Particle Industries, Inc."},"license":"Apache-2.0","publishConfig":{"access":"public"},"main":"./src/index.js","scripts":{"version":"npm run changelog:update","clean":"npm run clean:modules","clean:modules":"rm -rf ./node_modules","test":"npm run test:unit","test:ci":"npm run test:unit -- --forbid-only && npm run coverage","test:unit":"mocha './src/**/*.test.js' --color","test:unit:watch":"npm run test:unit -- --watch","test:unit:inspect":"npm run test:unit -- --inspect-brk","test:unit:silent":"npm run test:unit > tmp/test-unit-log.txt 2>&1","coverage":"nyc --reporter=text --temp-dir=./tmp/ --check-coverage --lines 99 --all npm run test:unit:silent","changelog:update":"node ../../bin/update-changelog.js device-control-util","docs:build":"node ../../bin/build-docs.js device-control-util"},"nyc":{"include":["src/**/*.js"],"exclude":["**/__fixtures__/**","**/*.test.js"]},"engines":{"node":">=12","npm":"8.x"},"gitHead":"6f5d761d954247d0debfb320906fa674eab7f261","_id":"@particle/device-control-util@1.1.3","_nodeVersion":"16.20.2","_npmVersion":"lerna/5.3.0/node@v16.20.2+x64 (linux)","dist":{"integrity":"sha512-TZ3TGO+jq7tPpImddXWB4GurkGdsXNAtKhpdoxoHO2yXtCwpucO8RFZ019S6jUJfgipCuP3UO1m9mrXZFYgrdw==","shasum":"93a4d1c9eaad3971f6920e7c914e79b90a41e0a2","tarball":"https://registry.npmjs.org/@particle/device-control-util/-/device-control-util-1.1.3.tgz","fileCount":7,"unpackedSize":24106,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC6FcPkDuYaPm8mqkL73kBvJAfi/KusyHBEqEmTUCZAZwIhALwNrSkC5WO3Wj/RGLDQffcUzektYXe016OU23uppuvH"}]},"_npmUser":{"name":"particlebot","email":"engineering+npm@particle.io"},"directories":{},"maintainers":[{"name":"particlebot","email":"engineering+npm@particle.io"},{"name":"no1089","email":"chris.fourie@particle.io"},{"name":"carlos.hdez","email":"Carlos.Hernandez@particle.io"},{"name":"guohui","email":"guohui@particle.io"},{"name":"keeramis5","email":"keerthy@particle.io"},{"name":"monkbroc","email":"jvanier@gmail.com"},{"name":"mstan","email":"npm@1379.tech"},{"name":"sergeuz","email":"sergeuz@gmail.com"},{"name":"avtolstoy","email":"avtolstoy@gmail.com"},{"name":"mlauer","email":"matt.lauer@particle.io"},{"name":"wraithan","email":"xwraithanx@gmail.com"},{"name":"azenk","email":"andrew.zenk@particle.io"},{"name":"bwalach","email":"brett@particle.io"},{"name":"rickkas7","email":"rickkas7@rickk.com"},{"name":"mrlambchop_particle","email":"nick@particle.io"},{"name":"hugo.montero","email":"hugo.montero@outlook.com"},{"name":"mphsi","email":"mpaul.hernandez@gmail.com"},{"name":"pedrosordo","email":"pedro.sordo@particle.io"},{"name":"cole-abbeduto-particle","email":"cole.abbeduto@particle.io"},{"name":"sbrust","email":"scott.brust@particle.io"},{"name":"eugene_particle","email":"eugene@particle.io"},{"name":"mohitparticle","email":"mohit@particle.io"},{"name":"karlag","email":"karla.garcia@particle.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/device-control-util_1.1.3_1757536600898_0.40229257632557314"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-09T20:22:54.599Z","modified":"2025-09-10T20:36:41.493Z","1.1.0":"2022-02-09T20:22:54.776Z","1.1.1":"2022-02-17T18:38:27.905Z","1.1.2":"2022-08-09T17:52:32.047Z","1.1.3":"2025-09-10T20:36:41.125Z"},"author":{"name":"Particle Industries, Inc."},"license":"Apache-2.0","description":"Utility classes and functions for Node.js and browsers","maintainers":[{"name":"particlebot","email":"engineering+npm@particle.io"},{"name":"no1089","email":"chris.fourie@particle.io"},{"name":"carlos.hdez","email":"Carlos.Hernandez@particle.io"},{"name":"guohui","email":"guohui@particle.io"},{"name":"keeramis5","email":"keerthy@particle.io"},{"name":"monkbroc","email":"jvanier@gmail.com"},{"name":"mstan","email":"npm@1379.tech"},{"name":"sergeuz","email":"sergeuz@gmail.com"},{"name":"avtolstoy","email":"avtolstoy@gmail.com"},{"name":"mlauer","email":"matt.lauer@particle.io"},{"name":"wraithan","email":"xwraithanx@gmail.com"},{"name":"azenk","email":"andrew.zenk@particle.io"},{"name":"bwalach","email":"brett@particle.io"},{"name":"rickkas7","email":"rickkas7@rickk.com"},{"name":"mrlambchop_particle","email":"nick@particle.io"},{"name":"hugo.montero","email":"hugo.montero@outlook.com"},{"name":"mphsi","email":"mpaul.hernandez@gmail.com"},{"name":"pedrosordo","email":"pedro.sordo@particle.io"},{"name":"cole-abbeduto-particle","email":"cole.abbeduto@particle.io"},{"name":"sbrust","email":"scott.brust@particle.io"},{"name":"eugene_particle","email":"eugene@particle.io"},{"name":"mohitparticle","email":"mohit@particle.io"},{"name":"karlag","email":"karla.garcia@particle.io"}],"readme":"# @particle/device-control-util\n\nUtility classes and functions used by other packages in this repository.\n\n\n## Installation\n\n```shell\nnpm install @particle/device-control-util --save\n```\n<!-- private-module-note-start -->\n\n<!-- private-module-note-end -->\n\n## API\n<!-- api-docs-start -->\n<a name=\"areEqualArrays\"></a>\n\n### areEqualArrays(arr1, arr2) ⇒ <code>Boolean</code>\nCompare two array-like objects.\n\n**Kind**: global function  \n**Returns**: <code>Boolean</code> - `true` if the arrays are equal or `false` otherwise.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| arr1 | <code>Array.&lt;\\*&gt;</code> | First array. |\n| arr2 | <code>Array.&lt;\\*&gt;</code> | Second array. |\n\n\n* * *\n\n<a name=\"writeUint32Be\"></a>\n\n### writeUint32Be(buf, val, [offs])\nWrite a 32-bit unsigned integer to a buffer (big-endian).\n\n**Kind**: global function  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Destination buffer. |\n| val | <code>Number</code> |  | Value. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the destination buffer. |\n\n\n* * *\n\n<a name=\"writeUint32Le\"></a>\n\n### writeUint32Le(buf, val, [offs])\nWrite a 32-bit unsigned integer to a buffer (little-endian).\n\n**Kind**: global function  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Destination buffer. |\n| val | <code>Number</code> |  | Value. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the destination buffer. |\n\n\n* * *\n\n<a name=\"writeUint16Be\"></a>\n\n### writeUint16Be(buf, val, [offs])\nWrite a 16-bit unsigned integer to a buffer (big-endian).\n\n**Kind**: global function  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Destination buffer. |\n| val | <code>Number</code> |  | Value. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the destination buffer. |\n\n\n* * *\n\n<a name=\"writeUint16Le\"></a>\n\n### writeUint16Le(buf, val, [offs])\nWrite a 16-bit unsigned integer to a buffer (little-endian).\n\n**Kind**: global function  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Destination buffer. |\n| val | <code>Number</code> |  | Value. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the destination buffer. |\n\n\n* * *\n\n<a name=\"writeUint8\"></a>\n\n### writeUint8(buf, val, [offs])\nWrite an 8-bit unsigned integer to a buffer.\n\n**Kind**: global function  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Destination buffer. |\n| val | <code>Number</code> |  | Value. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the destination buffer. |\n\n\n* * *\n\n<a name=\"readUint32Be\"></a>\n\n### readUint32Be(buf, [offs]) ⇒ <code>Number</code>\nRead a 32-bit unsigned integer from a buffer (big-endian).\n\n**Kind**: global function  \n**Returns**: <code>Number</code> - Value.  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Source buffer. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the source buffer. |\n\n\n* * *\n\n<a name=\"readUint32Le\"></a>\n\n### readUint32Le(buf, [offs]) ⇒ <code>Number</code>\nRead a 32-bit unsigned integer from a buffer (little-endian).\n\n**Kind**: global function  \n**Returns**: <code>Number</code> - Value.  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Source buffer. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the source buffer. |\n\n\n* * *\n\n<a name=\"readUint16Be\"></a>\n\n### readUint16Be(buf, [offs]) ⇒ <code>Number</code>\nRead a 16-bit unsigned integer from a buffer (big-endian).\n\n**Kind**: global function  \n**Returns**: <code>Number</code> - Value.  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Source buffer. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the source buffer. |\n\n\n* * *\n\n<a name=\"readUint16Le\"></a>\n\n### readUint16Le(buf, [offs]) ⇒ <code>Number</code>\nRead a 16-bit unsigned integer from a buffer (little-endian).\n\n**Kind**: global function  \n**Returns**: <code>Number</code> - Value.  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Source buffer. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the source buffer. |\n\n\n* * *\n\n<a name=\"readUint8\"></a>\n\n### readUint8(buf, [offs]) ⇒ <code>Number</code>\nRead an 8-bit unsigned integer from a buffer.\n\n**Kind**: global function  \n**Returns**: <code>Number</code> - Value.  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| buf | <code>Uint8Array</code> |  | Source buffer. |\n| [offs] | <code>Number</code> | <code>0</code> | Offset in the source buffer. |\n\n\n* * *\n\n<a name=\"toUint8Array\"></a>\n\n### toUint8Array(val) ⇒ <code>Uint8Array</code>\nConvert a value to a `Uint8Array`.\n\n**Kind**: global function  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>\\*</code> | Value to convert. |\n\n\n* * *\n\n<a name=\"concatUint8Arrays\"></a>\n\n### concatUint8Arrays(...arrs) ⇒ <code>Uint8Array</code>\nConcatenate a number of `Uint8Array` objects.\n\n**Kind**: global function  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| ...arrs | <code>Uint8Array</code> | Arrays to concatenate. |\n\n\n* * *\n\n\n<!-- api-docs-end -->\n\n_NOTE: Unfortunately, docs have a nasty habit of falling out of date. When in doubt, check usage in [tests](./src/index.test.js)_\n\n","readmeFilename":"README.md"}