{"name":"driver-server","version":"0.4.20","description":"Server driver for Rax","license":"BSD-3-Clause","main":"lib/index.js","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","dependencies":{"style-unit":"^0.4.20"},"_id":"driver-server@0.4.20","scripts":{},"_shasum":"47d3dc2794f6e5b066d03aa314d7441124f9b0ea","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"yacheng","email":"narutosun2@gmail.com"},"dist":{"shasum":"47d3dc2794f6e5b066d03aa314d7441124f9b0ea","tarball":"http://registry-npm.ywwl.com/driver-server/download/driver-server-0.4.20.tgz","integrity":"sha512-ozZGJtudscIqAGa9vhX8q/URdmv8CAs0GnV+LDW+PKiNm2lWo3M8TVG7pXv21E8ee9t6tdOiYFN2dWW1D5it/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGZfS6a9/UOxJUspyLDDOgKyRfv+eyQ/jpHDT7SwQKhAIhAO+JgRoYSk6ENGuDoZJZ7LBuRXKjjQkpS5U6ufHK5tPf"}],"size":2458,"noattachment":false,"key":"/driver-server/-/driver-server-0.4.20.tgz"},"maintainers":[{"email":"narutosun2@gmail.com","name":"yacheng"},{"email":"yuanyan.cao@gmail.com","name":"yuanyan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/driver-server-0.4.20.tgz_1508312834108_0.8897553097922355"},"directories":{},"readme":"# driver-server\n\n> Server driver for Rax.\n\n## Install\n\n```bash\n$ npm install --save driver-server\n```\n\n## Use\n\n```jsx\nimport {createElement, Component, render} from 'rax';\nimport ServerDriver from 'driver-server';\nimport {isNode} from 'universal-env';\n\nclass Example extends Component {\n  render() {\n    return (\n      <div>\n        <img width=\"560\" height=\"560\" src=\"https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg\" />\n      </div>\n    );\n  }\n}\n\nrender(<Example />, null, {\n  driver: isNode ? ServerDriver : null\n});\n```\n","publish_time":1508312834199,"_cnpm_publish_time":1508312834199,"dist-tags":{"latest":"1.0.0"}}