{"_id":"@areslabs/jdreact-plugin-sensors","_rev":"4-83cd779d04ba7bc911eba3550eced0d6","name":"@areslabs/jdreact-plugin-sensors","dist-tags":{"latest":"0.0.2"},"versions":{"1.0.3":{"name":"@areslabs/jdreact-plugin-sensors","version":"1.0.3","description":"传感器组件","main":"index.js","license":"MIT","scripts":{"eslint":"./node_modules/eslint/bin/eslint.js ."},"repository":{"type":"git","url":""},"dependencies":{"prop-types":"^15.5.10","rxjs":">= 6"},"devDependencies":{"babel-eslint":"^10.0.1","eslint":"^5.11.1","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","eslint-plugin-react-native":"^3.5.0"},"gitHead":"56a75272d82e4d2fee95c869507a79f7834bd31d","_id":"@areslabs/jdreact-plugin-sensors@1.0.3","_nodeVersion":"14.2.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-VYMoXjznMOWjTkx5X3ygP1kZ2zRzZav6ZL51xgZAFO3SPJgHdBRTifb3K5by36L1zT/rW8/wgkAWl3M5iXISTQ==","shasum":"18a8bc8f747e4d2c67146b8cac0f48944045a76e","tarball":"https://registry.npmjs.org/@areslabs/jdreact-plugin-sensors/-/jdreact-plugin-sensors-1.0.3.tgz","fileCount":6,"unpackedSize":11920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/psXCRA9TVsSAnZWagAAcCcP/2qdaPMH7RYHPob/Ed21\nGuQh719IzetbXogoByvD1HaXKCcRKkNfp9s6j5RJiuUBQA9R9G11nBiV30Rj\nIwz3S1eqdtZtITzOk/mRCHyLjDuIbNPBi6nEazY0tYGRpK6ZjCH15kZ/9X28\n8DDEoz6B8T2WtmFoRM/l44mSjCdvKLVn632zkE52XvF+3lAWl4DzQCL849mE\n2NC3KMy0RdupC8WxHMbVDfDnruhCIGWQKfvrZVKmgBQfUGH2A1kaq7n4U7n+\n8Xb+1RmO6oaa31Lc/24aDaePWdsjWog8NOerAj+XfDNkDJXEQCCrwuzE8NnW\ndRd3NgSsz84dfqyjPo/ASnckiGYvguX2bFVNtZ6+xngFnuEA0lBv7jZG2fRk\nYgxIghQasXffZSyqeVUGlmtxEQvYi7SLx7YRMIx4Im4AdZXywAgxLaIKncnf\nOZ9Z+y7Buqf1vwPAs1GxHeDgELwvDW86Fj94L/ww1Rj8y/4u6LELa/kPpGZX\nxVFw8Z9Tx57dVvUjcbf4VcWbWXE2GnB/X/tUWZ/rcSZBGH2ifTI8weSWtbnt\nHyA0GnPtevxFb1Kkbe0xxY+uyLivIjCiS/sYm6OF7Uq1nzP6xh41USjnvLSu\nN/jtDEn4HmPnR91ithjsSH3CTfnIlh/fndbOOL12cQ9LaHxR2ViwuIbGO0Iw\nYIzS\r\n=OfPd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChTHjPVzfFE024FJXlhOrT6XIMtO9bvp27iwnFj7UUdAiBVhxdhsk+SfeBloSlefpLgEQgCZIBqerTst87xcar2Kw=="}]},"_npmUser":{"name":"areslabsbot","email":"ykstudy@163.com"},"directories":{},"maintainers":[{"name":"jameshen","email":"jameshen@gmail.com"},{"name":"ykforerlang","email":"1527997464@qq.com"},{"name":"yvettelau","email":"542783088@qq.com"},{"name":"areslabsbot","email":"ykstudy@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jdreact-plugin-sensors_1.0.3_1610521367415_0.1608252339717544"},"_hasShrinkwrap":false},"1.0.4":{"name":"@areslabs/jdreact-plugin-sensors","version":"1.0.4","description":"传感器组件","main":"index.js","license":"MIT","scripts":{"eslint":"./node_modules/eslint/bin/eslint.js ."},"repository":{"type":"git","url":""},"dependencies":{"prop-types":"^15.5.10","rxjs":">= 6"},"devDependencies":{"babel-eslint":"^10.0.1","eslint":"^5.11.1","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","eslint-plugin-react-native":"^3.5.0"},"gitHead":"88e142c266198dfe52c0f673aeb796629f0a6a66","_id":"@areslabs/jdreact-plugin-sensors@1.0.4","_nodeVersion":"14.2.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-sPgHEJeqlxxhQNfNuczazISbt6gHU0rd67hr3kJKxrd81yzJIv6a975eVzGCYT38MoIlQ7N4x6TJwZ0xzBU/hQ==","shasum":"dea06a9eaac113b3b2a13c29f3ce3f17eeedc0d3","tarball":"https://registry.npmjs.org/@areslabs/jdreact-plugin-sensors/-/jdreact-plugin-sensors-1.0.4.tgz","fileCount":6,"unpackedSize":12104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/py+CRA9TVsSAnZWagAADoQQAIWVlzO+lpFPDxamoyNK\nS4P3IBQ6TzfFsZIy1KuuUDyECbrYTAJ6rCxZunjj2Prs9cLElDoDpEvfisl6\nmhIdMQ3amEM8gQ/bgm4uxjhbnm6UyScsMLITNxIBLi92/xo+8zlw0hzgtpdP\nCgGGhs6Wmg/1Kn73bvXDf35w/Ym/162lDjZ9Be/cCoCfWy/sxpfGLqG6waR3\nPJsGt5tZVnlnQgendijDz6c7Qm2dOJ6MpEKnJ6gKCP8VXeePErDOiSmbXw/Y\nlbfIJMl1lpGrOig8vz97MUIKrL/LMpdpsvpcTC/Tvb4e4tj7BdPgpd0lGKRW\nKBAKIFc2IzCH6WWy+yh6grIXEe4Og5HzbfSHqwtJ8jgzOlihKfmCpVYi8Dlf\nPkqgVef/c9XGldzRmtfFoJ85Awi11NG6ZN/iFmjvx8N15Ub7xLpmuLYhlD0K\naDRZrLp6seVkiNuwFFclYuTIcu18GEcBuePnd1LKADBq7uORZ6ceILltX8nH\nZEAzQ/YDbOMPAkyd8xf9A5WF6gdD0tE0DXD1yC5J+RxiNye0XlsIuLfirIb4\n6Iaw55CXxkj9kkbOFW86nM71dX0S+qf7tQNW34u4nLnuSy3Nh19/w/AWfVEi\nTuzKklW+ohicD9oHwj3hg5bmi5OgTMWq/N0JPXi/kMX5Mtl6820BGjZJuE3N\nhwCO\r\n=zvEF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBU6TKmFdai6LeV3CAifwxiiEXpl19nYvaRB5oYDauztAiEAyOTNHqaDh6LcANzsUUr0ZWREVd5p0GGgrFN39Cyk3S4="}]},"_npmUser":{"name":"areslabsbot","email":"ykstudy@163.com"},"directories":{},"maintainers":[{"name":"jameshen","email":"jameshen@gmail.com"},{"name":"ykforerlang","email":"1527997464@qq.com"},{"name":"yvettelau","email":"542783088@qq.com"},{"name":"areslabsbot","email":"ykstudy@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jdreact-plugin-sensors_1.0.4_1610521789758_0.3502093995826103"},"_hasShrinkwrap":false},"0.0.1":{"name":"@areslabs/jdreact-plugin-sensors","version":"0.0.1","description":"传感器组件","main":"index.js","license":"MIT","scripts":{"eslint":"./node_modules/eslint/bin/eslint.js ."},"repository":{"type":"git","url":""},"dependencies":{"prop-types":"^15.5.10","rxjs":">= 6"},"devDependencies":{"babel-eslint":"^10.0.1","eslint":"^5.11.1","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","eslint-plugin-react-native":"^3.5.0"},"gitHead":"c8b28a97a07da520ec1bfee6821befdde78b7ba0","_id":"@areslabs/jdreact-plugin-sensors@0.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-6SZfyppQEpto0AjVP7w9JV1aXdwn97NhzL/NXswp/Dv05qMYheBcQBQGDPVkRLV1onbywYotpAAzAfCHOxvNtw==","shasum":"da5bcefbc67051b735cdb855b4489c3fdddac333","tarball":"https://registry.npmjs.org/@areslabs/jdreact-plugin-sensors/-/jdreact-plugin-sensors-0.0.1.tgz","fileCount":5,"unpackedSize":5740,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG8qS9vk5d2LIYbjASQV4j7ldIstNdcIDdxSduQxxYUPAiEAuTj9V9eFfR9D7aimVCUmF1XZzLOqZwgAOb7KsYrjJHU="}]},"_npmUser":{"name":"areslabsbot","email":"332442181@qq.com"},"directories":{},"maintainers":[{"name":"jameshen","email":"jameshen@gmail.com"},{"name":"ykforerlang","email":"1527997464@qq.com"},{"name":"yvettelau","email":"542783088@qq.com"},{"name":"areslabsbot","email":"332442181@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jdreact-plugin-sensors_0.0.1_1697107008798_0.511052202910043"},"_hasShrinkwrap":false},"0.0.2":{"name":"@areslabs/jdreact-plugin-sensors","version":"0.0.2","description":"传感器组件","main":"index.js","license":"MIT","scripts":{"eslint":"./node_modules/eslint/bin/eslint.js ."},"repository":{"type":"git","url":""},"dependencies":{"prop-types":"^15.7.2","rxjs":">= 6"},"devDependencies":{"babel-eslint":"^10.0.1","eslint":"^5.11.1","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-flowtype":"^3.2.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","eslint-plugin-react-native":"^3.5.0"},"gitHead":"88e142c266198dfe52c0f673aeb796629f0a6a66","_id":"@areslabs/jdreact-plugin-sensors@0.0.2","_nodeVersion":"16.13.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-qzoExQtuqYK8mdoXzRT0IsVsqIU/JYc01UckhWzXVoI0OUT0coLeVwKylP9f26kLJA6jgHUXiTrPPw6/EvtC5A==","shasum":"16870c84aed044ff38d10117aa56930a7c9874d8","tarball":"https://registry.npmjs.org/@areslabs/jdreact-plugin-sensors/-/jdreact-plugin-sensors-0.0.2.tgz","fileCount":5,"unpackedSize":5956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAbeR7mq/g13C6V9At5aZUYkXakZZJRPeyb6vdFDkHZwIgMeCtO3fNyhwdJkhQ2YiHPSrBdRkejGwnOh0sgwZ2iSY="}]},"_npmUser":{"name":"areslabsbot","email":"332442181@qq.com"},"directories":{},"maintainers":[{"name":"jameshen","email":"jameshen@gmail.com"},{"name":"ykforerlang","email":"1527997464@qq.com"},{"name":"yvettelau","email":"542783088@qq.com"},{"name":"areslabsbot","email":"332442181@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jdreact-plugin-sensors_0.0.2_1697514447894_0.5118853417958209"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-13T07:02:47.222Z","1.0.3":"2021-01-13T07:02:47.563Z","modified":"2023-10-17T03:47:28.491Z","1.0.4":"2021-01-13T07:09:49.872Z","0.0.1":"2023-10-12T10:36:49.163Z","0.0.2":"2023-10-17T03:47:28.273Z"},"maintainers":[{"name":"jameshen","email":"jameshen@gmail.com"},{"name":"ykforerlang","email":"1527997464@qq.com"},{"name":"yvettelau","email":"542783088@qq.com"},{"name":"areslabsbot","email":"332442181@qq.com"}],"description":"传感器组件","repository":{"type":"git","url":""},"license":"MIT","readme":"# Sensors\n## 说明\n传感器组件\n\n## 安装\n\n```bash\nnpm install @areslabs/jdreact-plugin-sensors --save\n```\n## 组件API\n\n### 陀螺仪\n\n```JavaScript\nimport { gyroscope } from \"@areslabs/jdreact-plugin-sensors\";\n\nconst subscription = gyroscope.subscribe(({ x, y, z, timestamp }) =>\n  console.log({ x, y, z, timestamp })\n);\n```\n\n### setUpdateIntervalForType\n\n```JavaScript\nimport { setUpdateIntervalForType, SensorTypes } from \"@areslabs/jdreact-plugin-sensors\";\nsetUpdateIntervalForType(SensorTypes.gyroscope, 100);\n```","readmeFilename":"README.md"}