{"name":"react-attr-converter","version":"0.3.1","description":"Convert HTML attribute names to React props","main":"index.js","scripts":{"test":"xo && ava"},"repository":{"type":"git","url":"git+https://github.com/noraesae/react-attr-converter.git"},"keywords":["react","attribute","props"],"author":{"name":"Hyunje Jun","email":"me@noraesae.net","url":"http://noraesae.net/"},"license":"MIT","bugs":{"url":"https://github.com/noraesae/react-attr-converter/issues"},"homepage":"https://github.com/noraesae/react-attr-converter#readme","devDependencies":{"ava":"^0.20.0","xo":"^0.18.2"},"xo":{"space":true,"esnext":false},"gitHead":"92ce639f4dcafc9c6c31efbc13c6d25b5178a511","_id":"react-attr-converter@0.3.1","_npmVersion":"5.2.0","_nodeVersion":"6.11.0","_npmUser":{"name":"noraesae","email":"me@noraesae.net"},"dist":{"integrity":"sha512-dSxo2Mn6Zx4HajeCeQNLefwEO4kNtV/0E682R1+ZTyFRPqxDa5zYb5qM/ocqw9Bxr/kFQO0IUiqdV7wdHw+Cdg==","shasum":"4a2abf6d907b7ddae4d862dfec80e489ce41ad6e","tarball":"http://registry-npm.ywwl.com/react-attr-converter/download/react-attr-converter-0.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpMdrizRcgY5xLT3wtTtPJCs2gB8QLjjM9hgb1PnTQ7QIgeqTCbGIzu5XIi/H8EEyw3K7uXW9QlYSUl/WYbZrgg54="}],"size":7826,"noattachment":false,"key":"/react-attr-converter/-/react-attr-converter-0.3.1.tgz"},"maintainers":[{"name":"noraesae","email":"me@noraesae.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-attr-converter-0.3.1.tgz_1499849082390_0.4231020244769752"},"directories":{},"readme":"# react-attr-converter [![travis-ci](https://travis-ci.org/noraesae/react-attr-converter.svg)](https://travis-ci.org/noraesae/react-attr-converter)\n\nConvert HTML attribute names to React props.\n\n## Convert how?\n\nIt converts HTML attribute names into prop names used by React.\n\n```js\nconvert('class'); // => 'className'\nconvert('for'); // => 'htmlFor'\nconvert('onclick'); // => 'onClick'\nconvert('onCLICK'); // => 'onClick'\n```\n\nIt bypasses attribute names which are not supported by React.\n\n```js\nconvert('data-hello'); // => 'data-hello'\nconvert('lovelive'); // => 'lovelive'\n```\n\n## How to use\n\nInstall with NPM:\n\n```\nnpm i --save react-attr-converter\n```\n\nImport with CommonJS or whatever:\n\n```js\nconst convert = require('react-attr-converter');\n\nimport convert from 'react-attr-converter';\nimport * as convert from 'react-attr-converter'; // both of them work\n```\n\n## A bug!\n\nWhen a bug is found, please report them in [Issues](https://github.com/noraesae/react-attr-converter/issues).\n\nAlso, any form of contribution(especially a PR) will absolutely be welcomed :beers:\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1499849082486,"_cnpm_publish_time":1499849082486,"dist-tags":{"latest":"0.3.1"}}