{"bugs":{"url":"https://github.com/raxjs/universal-api/issues"},"dist":{"shasum":"c6e65feaa4afb1ccbe68db9fe3b992c5a799f83f","tarball":"https://registry.npmjs.org/@uni/system-info/-/system-info-1.0.10-beta.0.tgz","fileCount":103,"integrity":"sha512-vUFbn3NVK78ZWs9euvbpLKL60FJvo1m6dIAdlNKfp3751UFHigiVkz33Y9QR7BGCJ0Fcu/kjrqrVFjSwE0a4Gw==","signatures":[{"sig":"MEUCIBgVFo/Z+hXq/6zddzydCQeFbaU6aImPeFsXi9+lDPySAiEAlwHB1luLtDoE2DbwQook+Zk501JC8+UZO0Jb6kuqi9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":190699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqtDRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLvw/+JLU6EEdArCXejKbeCwTN2kS0CrRG/j/5o/eMidku4rr6aVpv\r\nfJq1TPdanSfBYTWEz1ZK9YtyQ2w/1Sz50weY06xnVao22PXwe5qsTZpVkTQ3\r\nkp7xvnTjIC5ioLXdJV9cJpek2ltvaUaTgjmoOuPL0EWNxk2r4XklRa25UbD/\r\n55NhWQPh5miACHXzF8Vkm6nvuK9ZWmqdwxtE42KsSt5h7bFbseUt1rlXQXDI\r\nlbyH/NLBlGLHblB/Dg1dUBGcVHiKe2GY4BN1rnA3sfz3MmMx7PwgGX+RZK63\r\nmHIqmppFtxOnAURjGVLI7BZm7v0yuaDtW8nWVtXHxI5RV57KUZsXitlBo/ON\r\nhx+6J1SMMgu15PmVBWwncM699ZRuA594L1G5Mi7VQ5tSCfmxIDx8ZgxPrXtX\r\nHBYaOIs1Bd4PwvrG8QwKl5W4JxSfU0j86xnyg8qKElLlG841j3uAIs7Bgbc+\r\nM6AEhNUd8W3UUt+0KZfmSiOl0DNUouLm5nmefyU7fKhy+GZUnLMlcRIJf44f\r\nUaye5rRrK2HefXeJs+T5kBqI1GgDmQ03diNNGhqczrzacKsBXU/7HUEa2KoO\r\nFrkzP7OBgvjmfp3qIjf1syytV/WyW2R8Ho0a31caNV+W1eq2GBNIgdxoYuD7\r\nKt2uGk6jvYcA5GYtq+tpatNeqaf6Vhz3iPc=\r\n=7dh2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"@uni/system-info","unpkg":"dist/index.js","author":{"name":"rax"},"module":"es/index.js","readme":"# systemInfo \n\n\n[![npm](https://img.shields.io/npm/v/@uni/system-info.svg)](https://www.npmjs.com/package/@uni/system-info)\n\nGets system information.\n\n<div style=\"display: flex;flex-direction: row;justify-content: space-between;\">\n<div style=\"margin-right: 20px;max-width: 50%;\">\n\n## Supported\n\n<img alt=\"browser\" src=\"https://gw.alicdn.com/tfs/TB1uYFobGSs3KVjSZPiXXcsiVXa-200-200.svg\" width=\"25px\" height=\"25px\" title=\"h5\" /> <img alt=\"miniApp\" src=\"https://gw.alicdn.com/tfs/TB1bBpmbRCw3KVjSZFuXXcAOpXa-200-200.svg\" width=\"25px\" height=\"25px\" title=\"ali miniprogram\" /> <img alt=\"wechatMiniprogram\" src=\"https://img.alicdn.com/tfs/TB1slcYdxv1gK0jSZFFXXb0sXXa-200-200.svg\" width=\"25px\" height=\"25px\" title=\"wechatMiniprogram\" /> <img alt=\"bytedanceMicroApp\" src=\"https://gw.alicdn.com/tfs/TB1jFtVzO_1gK0jSZFqXXcpaXXa-200-200.svg\" width=\"25px\" height=\"25px\" title=\"bytedanceMicroApp\" /> <img alt=\"baiduSmartProgram\" src=\"https://img.alicdn.com/imgextra/i4/O1CN01jngdBb24yGv2Fu34G_!!6000000007459-2-tps-200-200.png\" width=\"25px\" height=\"25px\" title=\"baiduSmartProgram\" /> <img alt=\"kuaiShouMiniProgram\" src=\"https://gw.alicdn.com/imgextra/i4/O1CN01kzmJMM24jcFEzp5Wv_!!6000000007427-2-tps-200-200.png\" width=\"25px\" height=\"25px\" title=\"KuaiShouMiniProgram\" />\n\n## Install\n\n```bash\n$ npm install @uni/system-info --save\n```\nor\n```bash\n$ npm install @uni/apis --save\n```\n## Usage\n\n```javascript\nimport { getInfo, getInfoSync } from '@uni/system-info';\n\ngetInfo().then(res => console.log(res));\nlet res = getInfoSync();\n\n```\n\nYou can also import from the big package:\n```js\nimport { systemInfo } from '@uni/apis';\n\nsystemInfo.getInfo().then(res => console.log(res));\nlet res = systemInfo.getInfoSync();\n```\n\n### Return\n\n| Property | Type | Description |\n| --- | --- | --- |\n| pixelRatio | `number` | Device's pixel ratio |\n| screenWidth | `number` | Screen width in px |\n| screenHeight | `number` | Screen height in px |\n| windowWidth | `number` | Available window width in px\t |\n| windowHeight | `number` | Available window height in px |\n| language | `string` | Language，zh_CN 简体中文，zh_TW 繁体中文，en 英文 |\n| version | `string` | version |\n| platform | `string` | Client platform |\n\n</div>\n<div>\n\n\n\n<div style=\"display: flex;margin-top: 50px;\">\n  <div>\n    <img src=\"https://img.alicdn.com/imgextra/i4/O1CN01XDvKVV1DKGftHeaEp_!!6000000000197-0-tps-616-638.jpg\" width=\"220\" height=\"200\" />\n    <div style=\"text-align: center;\">wechat miniprogram</div>\n  </div>\n</div>\n\n</div>\n</div>\n","exports":{".":{"web":"./es/web/index.js","default":"./es/index.js","miniapp":"./es/ali-miniapp/index.js","baidu-smartprogram":"./es/baidu-smartprogram/index.js","bytedance-microapp":"./es/bytedance-microapp/index.js","wechat-miniprogram":"./es/wechat-miniprogram/index.js","kuaishou-miniprogram":"./es/kuaishou-miniprogram/index.js"},"./*":"./*"},"gitHead":"1e7e7fee0fcc367b2758c462746f98fe718cbda0","license":"BSD-3-Clause","typings":"types/index.d.ts","_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"homepage":"https://github.com/raxjs/universal-api#readme","repository":{"url":"git+ssh://git@github.com/raxjs/universal-api.git","type":"git"},"_npmVersion":"8.19.3","description":"","directories":{},"maintainers":[{"name":"bunko","email":"2leg@immaster.cn"},{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"}],"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"@uni/env":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.en-US.md","_npmOperationalInternal":{"tmp":"tmp/system-info_1.0.10-beta.0_1672138961000_0.23692762642401588","host":"s3://npm-registry-packages"},"_id":"@uni/system-info@1.0.10-beta.0","version":"1.0.10-beta.0"}