{"_id":"hyperscript-attribute-to-property","_rev":"6-37cdf34ce6a5187495571ef623248c22","name":"hyperscript-attribute-to-property","description":"Convert hyperscript attributes to properties","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"hyperscript-attribute-to-property","description":"Convert hyperscript attributes to properties","version":"1.0.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/hyperscript-attribute-to-property/issues"},"dependencies":{},"devDependencies":{"standard":"^6.0.4","tape":"^4.0.0","virtual-dom":"^2.1.1","zuul":"^3.0.0"},"homepage":"https://github.com/feross/hyperscript-attribute-to-property","keywords":["es6","template","template string","hyperscript","react","vdom","virtual-dom","jsx"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/hyperscript-attribute-to-property.git"},"scripts":{"test":"standard && npm run test-node && npm run test-browser","test-browser":"zuul -- test/*.js","test-browser-local":"zuul --local -- test/*.js","test-node":"tape test/*.js"},"gitHead":"2b21ce3be8996f0639d6be4ba76b12995fae607c","_id":"hyperscript-attribute-to-property@1.0.0","_shasum":"825308d49bb8e2957923f731981bcc811cad7aff","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"shasum":"825308d49bb8e2957923f731981bcc811cad7aff","tarball":"https://registry.npmjs.org/hyperscript-attribute-to-property/-/hyperscript-attribute-to-property-1.0.0.tgz","integrity":"sha512-TgAG0XfHNlnMSVhB4vtfGsHTI58IZgCSSvgnSJFhfdRdQdkiERYXQmVfPnq0oMcdABkeU33ApdDenvrQH3fwNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2U3RvluxYxEW1g6AIthbdPFUAujnON2ll3uDoWaXs7AiEApi0EpkQc8mI3vbPvbsemy9/NKZEnr4fH4qre1YXcAN0="}]},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hyperscript-attribute-to-property-1.0.0.tgz_1457161269517_0.8505710479803383"},"directories":{}},"1.0.1":{"name":"hyperscript-attribute-to-property","description":"Convert hyperscript attributes to properties","version":"1.0.1","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/hyperscript-attribute-to-property/issues"},"dependencies":{},"devDependencies":{"airtap":"0.0.7","standard":"*","tape":"^4.0.0","virtual-dom":"^2.1.1"},"homepage":"https://github.com/feross/hyperscript-attribute-to-property","keywords":["es6","template","template string","hyperscript","react","vdom","virtual-dom","jsx"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/hyperscript-attribute-to-property.git"},"scripts":{"test":"standard && npm run test-node && npm run test-browser","test-browser":"airtap -- test/*.js","test-browser-local":"airtap --local -- test/*.js","test-node":"tape test/*.js"},"gitHead":"78a8990d7fb3168a643d7c0038bd1c2b05475c5a","_id":"hyperscript-attribute-to-property@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"integrity":"sha512-N++cqwJ58/cTBYh4zUhqnlOEF7GgStWxIqjNHFDHD13fmH7Iah4PksZLcxqmxAwn3loUyXSVGw1NTnRlOTqN5Q==","shasum":"06ecb885bd64424de889df545899fcf0015e4787","tarball":"https://registry.npmjs.org/hyperscript-attribute-to-property/-/hyperscript-attribute-to-property-1.0.1.tgz","fileCount":4,"unpackedSize":4561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHFmgCRA9TVsSAnZWagAAysAP/RLfAR+lIReHf0vjEnIW\nbuxA+MlHBTgOwTv3zixbXFZeFYZnyC82QN8gyBelyrIXItoF9wi72LGpNNjx\nqLGYwa0ftpXyp6q3qaOArZVDWKCshrE/8IUIHovFffhV8TVFFDgfeucxvTMF\nNis9DVHi5fA505uxU+Gy8n3lL1ZehymA8TY/ItLM6mqsfANirsapUq62CAwp\nr2oyyuEEsB5E63hMfSCQhcs/wwhkXLzO6+Jz65ksAf7xurPIzxfZJykAErAe\nmgzPSdQu/go5bhbvRBrneLMwgda+dOQLuz1dSiP0pqhTvtU8zJ9IR5Bp+BDh\nMWjdZkseNH/UaBTsUJWkyCfsk/3QIlCg0S4BCL4uKh/bJZZmNNtD5OPJahOH\n5nDu2qjCXQAsNsWzaQVI7eisUcggu0laEya6g8ouYE+bSQtPwR1ISg42Ica5\n64nJSz3XiGI3BxLUmSDig6auhTfBP8xVBEbdC6MHWKkvpYyV2TeyTiNq4sSP\negZmmMXyEMWPy8x6bw4htyP34HtGsyToOVHevG8Q6AcJiQzsAFrQuiK+CWPz\nAP7Lt7XLHaEtYJB2EwU5rZYXP1u/6IKuKWefYB7F/YV3e7iD+wmNzL12+oA5\nBBt4wBrHAI427CutOATC7+UD747rucT7CmFymfXn/hFR42WP70ldwq+If7Q8\nt9Rr\r\n=XKf0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEQe88ZIbjA+fSVtRHDly1zzv9uAuUAH0xsVZdfi9IDQIgLBmNd1jbjOkGsVLg1ZYmwSye3CxG58qbS6x7XDTE/RQ="}]},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hyperscript-attribute-to-property_1.0.1_1528584608082_0.47394492781421027"},"_hasShrinkwrap":false},"1.0.2":{"name":"hyperscript-attribute-to-property","description":"Convert hyperscript attributes to properties","version":"1.0.2","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/hyperscript-attribute-to-property/issues"},"dependencies":{},"devDependencies":{"standard":"*","tape":"^4.0.0","virtual-dom":"^2.1.1"},"homepage":"https://github.com/feross/hyperscript-attribute-to-property","keywords":["es6","template","template string","hyperscript","react","vdom","virtual-dom","jsx"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/hyperscript-attribute-to-property.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"e2ee9ea3175b4041e4a257eb8dd7ff05fb5c8cf1","_id":"hyperscript-attribute-to-property@1.0.2","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"integrity":"sha512-oerMul16jZCmrbNsUw8QgrtDzF8lKgFri1bKQjReLw1IhiiNkI59CWuzZjJDGT79UQ1YiWqXhJMv/tRMVqgtkA==","shasum":"66ad4164f88beefacf46ec884bd3d1173c1c382a","tarball":"https://registry.npmjs.org/hyperscript-attribute-to-property/-/hyperscript-attribute-to-property-1.0.2.tgz","fileCount":4,"unpackedSize":4251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWsSBCRA9TVsSAnZWagAAd2kP/A7VvqYVaS312YfhHQYr\n+A5/GHDRzUmMr6rmgQd8r9aRJGk8mZIYf0yHceO0090X3sw6xSYAjKntwAoG\njw2kn9bHTyA9msAm2KaZzNcxySlexo+B3hB4J4VxP6+CZheyhBe3HHXv/a+e\nz8P6gPBG11KTBj6yevQBvTyOryUFdjRbLNh897ffinPL5o1Uv4IxmuaqyUoU\nLfAWjB5+NGKC7QEhfmIBideLEwAyr4HkSi6bUy9zciGh+Bg2itl9XUnWqa29\nuZRTYEc1LoBUJwAAwBzf8fYU8BK8lcPSSzim2WcRhmJgCQs6nAljiBcCzLTW\nCQuGIEIYO4huyWcsEkUjv7wI6ewa09DQ0Dit6ycl/HqafmCBRjPvUNEIzX6K\nUIX65mq+I3WuV7QVcZNfBp9JCe+tyynclSbxXoPjMmKPwlqPlI9jBa49psns\niLGM+aTL8kNiQ2uyYX3sQJ0xnlX+SMfyJjHUfn9SfZlEq9uZxWw06aPnXmkV\nJYkMgf/jzStcnBD3gXicT6VTocuPsY7NCP0Nl+DIFlg6NwDZysIoBfdZ6SzX\nRMW3IJjQlDCfWvb1Urkb03NRXqlZdBxDTzEszpR8tF4y373UZamyd2JtHFph\nqipp7DCV5kQthcjBxFW0+6mVLgMs+eat5nMNU/pBtxkl3R9rL/B5RheeYPVq\nkoTl\r\n=zDtk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi/eABruwnjNh4M6uU31WEdk5K+N2YdvrLkSGQgXKYywIhAP4qqPekcpyhfpg2aKzdsh5VTLJnFEQOXZdcfNv1H0Rl"}]},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hyperscript-attribute-to-property_1.0.2_1532675201726_0.9174855445772283"},"_hasShrinkwrap":false}},"readme":"# hyperscript-attribute-to-property [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[travis-image]: https://img.shields.io/travis/feross/hyperscript-attribute-to-property/master.svg\n[travis-url]: https://travis-ci.org/feross/hyperscript-attribute-to-property\n[npm-image]: https://img.shields.io/npm/v/hyperscript-attribute-to-property.svg\n[npm-url]: https://npmjs.org/package/hyperscript-attribute-to-property\n[downloads-image]: https://img.shields.io/npm/dm/hyperscript-attribute-to-property.svg\n[downloads-url]: https://npmjs.org/package/hyperscript-attribute-to-property\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n### Convert hyperscript attributes to properties\n\nSome html attributes have different JavaScript property names. The most annoying of these\nis `class` v.s. `className`.\n\nWith this package, you can do this:\n\n```js\nvar vnode = h('div', { class: 'my-class' })\n```\n\nInstead of this:\n\n```js\nvar vnode = h('div', { className: 'my-class' })\n```\n\nWorks with [virtual-dom](https://www.npmjs.com/package/virtual-dom), [react](https://www.npmjs.com/package/react), [hyperscript](https://www.npmjs.com/package/hyperscript), or any DOM builder with a hyperscript-style API: `h(tagName, attrs, children)`.\n\n## install\n\n```\nnpm install hyperscript-attribute-to-property\n```\n\n## usage\n\n###  example\n\n```js\nvar attrToProp = require('hyperscript-attribute-to-property')\nvar h = attrToProp(require('virtual-dom/h'))\n```\n\n### hyperx\n\nIf you use the [hyperx](https://npmjs.com/package/hyperx) package, then this functionality\nis built-in and implemented via this package :)\n\n## license\n\nMIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).\n","maintainers":[{"name":"feross","email":"feross@feross.org"}],"time":{"modified":"2022-06-18T23:36:43.991Z","created":"2016-03-05T07:01:10.962Z","1.0.0":"2016-03-05T07:01:10.962Z","1.0.1":"2018-06-09T22:50:08.186Z","1.0.2":"2018-07-27T07:06:41.820Z"},"homepage":"https://github.com/feross/hyperscript-attribute-to-property","keywords":["es6","template","template string","hyperscript","react","vdom","virtual-dom","jsx"],"repository":{"type":"git","url":"git://github.com/feross/hyperscript-attribute-to-property.git"},"author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/hyperscript-attribute-to-property/issues"},"license":"MIT","readmeFilename":"README.md"}