{"bugs":{"url":"https://github.com/raxjs/universal-api/issues"},"dist":{"shasum":"0e793c4489e1d509c757f7a4731478512d3ec0e8","tarball":"https://registry.npmjs.org/@uni/system-info/-/system-info-1.0.0-beta1.tgz","fileCount":25,"integrity":"sha512-TyhEg+y6fkZDy3LthstUvPspMK6JWpF83Vw4WxKC2Fzdhw1jctzv5XVgndvijivpY3wI56RAbNnc5m9elZsGDA==","signatures":[{"sig":"MEUCIQC4HWfV7Slq3VN2qiTTga+LA9f2/5ViMuwyH+nNJ9C4YQIgGfwo1+CqIIcb0zCSCn29Lwf0Rxj/xmFtqf0dntJhf/k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOO//CRA9TVsSAnZWagAAm+UP/29mwDNHyWDtycpD1HSj\nLx4voTvPkUrNJ75BO3PTyb+2stx9j9o8jkuM06kIcMikxG3e1jQ7J6qOttP9\n8wFk5wmCJwjsBZFPu3mVIF88PDj4525lfdPHymWINLkKbf7/cROf2yDWL8yJ\nZ+h+q1FigUrhdsa6oSLRjmEhdmgSQ6C1yAeJ3ldp50RcmMjUlZEnJn/0CWnP\nUjgw9CUZE/1vDVJirs/PKYzKr90vUjVPSP4NkL3ZfDbT7c+VMcKFUeaSSAfW\n+zoKdtSW/NPB2UPXVyCjGc6X4edBuOVNHAvTo2NcD1H/61U6nx+T5KgX5BBS\nUvHwXlbAc99/qPHzYREcCwq1hnpF9zpypcWv24iKjhTmumx67Pdc2FHjzRKf\nts7WQX5aVDLNsycO8zBaEoClFmjiE6Yt35OoH0OhVxki1GaMilTajxOFIKp6\nllxjmndlW76Ffb3wHcFNC6z9kzKyMaBgts9IMnJ/b0jvnFy7XerZNyUFH9gN\nvqEVp1dt3ruR8pkJg7cMl5I1tj0+zn36SzV/kJ5N9rXP+3WFYJ67zHo50H2O\nNWGxGWo6zPS5HRbC4BlymG9gbXQ/9pVgoy4WFUTuem1qEsiFe0JSAzyaM52c\nIIs0+ZxCzEyG2WK3YaBJrG/PtgVbGN+/giscV+C1g/addlv9W6YLa2t7xGPR\nfVtH\r\n=grKO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"@uni/system-info","unpkg":"index.umd.js","author":{"name":"rax"},"module":"index.es.js","readme":"# getSystemInfoSync \n\n[![npm](https://img.shields.io/npm/v/@uni/apis.svg)](https://www.npmjs.com/package/@uni/apis)\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;\">\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\">\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 getSystemInfoSync from '@uni/system-info';\n\nlet res = getSystemInfoSync();\n\n```\n\nYou can also import from the big package:\n```js\nimport { systemInfo } from '@uni/apis';\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=\"200\" height=\"200\" />\n    <div style=\"text-align: center;\">wechat miniprogram</div>\n  </div>\n</div>\n\n</div>\n</div>\n","license":"BSD-3-Clause","typings":"types/index.d.ts","_npmUser":{"name":"bunko","email":"2leg@immaster.cn"},"homepage":"https://github.com/raxjs/universal-api#readme","repository":{"url":"git+ssh://git@github.com/raxjs/universal-api.git","type":"git"},"_npmVersion":"6.14.5","description":"[![npm](https://img.shields.io/npm/v/@uni/apis.svg)](https://www.npmjs.com/package/@uni/apis) [![npm](https://img.shields.io/npm/v/@uni/system-info.svg)](https://www.npmjs.com/package/@uni/system-info)","directories":{},"maintainers":[{"name":"bunko","email":"2leg@immaster.cn"}],"_nodeVersion":"14.4.0","dependencies":{"@babel/runtime-corejs3":"^7.11.0"},"_hasShrinkwrap":false,"readmeFilename":"README.en-US.md","peerDependencies":{"@uni/env":"^1.0.0-beta"},"_npmOperationalInternal":{"tmp":"tmp/system-info_1.0.0-beta1_1614344190757_0.3141309021675316","host":"s3://npm-registry-packages"},"_id":"@uni/system-info@1.0.0-beta1","version":"1.0.0-beta1"}