{"name":"driver-universal","version":"2.2.0-0","description":"Driver for Universal App.","license":"BSD-3-Clause","main":"lib/index.js","module":"es/index.js","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/alibaba/rax.git"},"bugs":{"url":"https://github.com/alibaba/rax/issues"},"homepage":"https://github.com/alibaba/rax#readme","devDependencies":{"rax":"^1.0.0"},"dependencies":{"driver-dom":"^2.0.0","driver-kraken":"^0.1.0","driver-weex":"^1.0.0","style-unit":"^2.0.0","universal-env":"^3.0.0"},"readme":"# driver-universal\n\n> Driver for Universal App.\n\nSupport both DOM(Web) and Weex, with normalized 750rpx support of screen width.\n## Install\n\n```bash\n$ npm install --save driver-universal\n```\n\n## Use\n\n```jsx\nimport { createElement, render } from 'rax';\nimport View from 'rax-view';\nimport Image from 'rax-image';\nimport DriverUniversal from 'driver-universal';\nfunction Example() {\n  return (\n    <View>\n      <Image width=\"560\" height=\"560\" src=\"https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg\" />\n    </View>\n  );\n}\nrender(<Example />, null, {\n  driver: DriverUniversal\n});\n```\n\n## Compare\n| driver | append unit to relevant styles | 'rpx' translate | Compatible with flex | Compatible with event |\n| ------ | ------------------------------ | --------------- | -------------------- | --------------------- |\n| driver-dom | Append 'px' | Translate to 'vw' | Do nothing | Do nothing  |\n| driver-weex | Use 'px' that relative to the width of the screen. |  Do nothing | Do nothing | Do nothing |\n| driver-universal | Append 'rpx' | Use 'px' that relative to the width of the screen, In weex | Support parsing array like display: [\"-webkit-box\", \"-webkit-flex\", \"flex\"] | Support input doubleclick |\n","readmeFilename":"README.md","_id":"driver-universal@2.2.0-0","_nodeVersion":"8.11.3","_npmVersion":"6.12.0","dist":{"integrity":"sha512-9WaPj1cDCXlBaLMj+tmyHFL+zg5VYg/0woVqsMDcxkQ1Kp5K7maifxGoc+jpsi4NazuwwMT0BxDanQiVglOMYw==","shasum":"de38d3aed4d10b0ed5761003d40619dfa8aab888","tarball":"http://registry-npm.ywwl.com/driver-universal/download/driver-universal-2.2.0-0.tgz","fileCount":17,"unpackedSize":24368,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd33ZTCRA9TVsSAnZWagAAJD8QAIVDQQdfFxo2BTNobw1u\nqVEfNGXunVRug20x57he+SjvEhjDwzKf56wsGe2wmV65301KQikkv/rLb5GP\n5AWI056/BxFKz6NyvRgofjX5MVjtkd/cQZwIKrTq6mlioezXskBPBXQy7FMw\nIh4qqQ3dVmObO2Z9NaeMSWt/PHbjiA6FVoGv4vs23cG5xat7a55wdF3MQU0y\nO9aZrcnrFlmAvcNdSXKEplVZIISKnXC7r3BKAlUPDwc0zEJNdLzLMzZQyLRu\nbgdub23pj0sUaCwO8DpNGsXRWNFmACAAKUi2OZ9DbbS9ReCfgYUVVSBADE4G\nQvPHMX2kBV0A9jlmakKlETdWvoFm95rdAWh7z7hxaU/cKegm0CKti3TnsUBN\nbGHfcGXKH980F/KFfkepDD+b8Gc+5GU+QmLPBOZV1i1H+NC/jaZCM1VG4HTv\nUIE7OXUGrJm3Bv+6wYoocQx4HRupXlFMFrosnYHpINQ4TxzoZjoEiJaAzTex\nfuAnsflyNS3Lrhe2AC03on5LPT+UfA5Y3FChiC6NiX3wY+KmUjJhVIpslTPs\nhQpO5DjrI98Nn+lgeYZ2aGcHj65xZpHyTCH3FUnO4DEwU++S9wYPpqmIZ7x2\noHxs89VJjklLjvLkH3RfEBj7t2C5ln4+fqqgPUcQD1pwmzltwxTQd2BRIgBu\nu9hA\r\n=4fHP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqX+WAeCTxJ/GI0LFl/dn334ThQ+V8aifF0QpBo2T87AiBUe+YyaOiW5wf/JNYs0tqX2C3gHMNV5p4duDwh82nTJQ=="}],"size":4856,"noattachment":false,"key":"/driver-universal/-/driver-universal-2.2.0-0.tgz"},"maintainers":[{"email":"18767120422@163.com","name":"fyangstudio"},{"email":"wssgcg1213@qq.com","name":"zeroling"}],"_npmUser":{"name":"zeroling","email":"wssgcg1213@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-universal_2.2.0-0_1574925907350_0.727126665106754"},"_hasShrinkwrap":false,"publish_time":1574925907538,"_cnpm_publish_time":1574925907538,"dist-tags":{"beta":"3.5.0-beta.1","latest":"3.5.0"}}