{"_id":"@delightfulstudio/react-native-svgson","_rev":"1-f105a571c9ae5e0da99c6c4cad18d8cd","name":"@delightfulstudio/react-native-svgson","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@delightfulstudio/react-native-svgson","version":"0.0.1","description":"Render SVG from a JSON definition generated by https://github.com/elrumordelaluz/svgson","main":"lib/react-native-svgson.js","scripts":{"eslint":"node_modules/eslint/bin/eslint.js lib/","test":"yarn eslint && yarn jest","jest":"jest"},"repository":{"type":"git","url":"git+https://github.com/DelightfulStudio/react-native-svgson.git"},"contributors":[{"name":"Delightful Studio","email":"hello@delightful.studio"},{"name":"Jose Antonio Sanchez","email":"jasancheg@gmail.com"}],"keywords":["react","native","json","svg","svgson","android","ios"],"license":"MIT","bugs":{"url":"https://github.com/DelightfulStudio/react-native-svgson/issues"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.0.2","babel-jest":"^23.4.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react-native":"^4.0.0","babel-register":"^6.26.0","enzyme":"^3.1.1","eslint":"^5.1.0","eslint-config-airbnb":"^17.0.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-react":"^7.4.0","jest-cli":"^23.4.0","jest-react-native":"^18.0.0","react":"^16.1.0","react-addons-test-utils":"^15.6.2","react-dom":"^16.1.0","react-native":"^0.50.3","react-test-renderer":"^16.1.0"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"jest-react-native"},"dependencies":{},"gitHead":"94468dd02166808898c299696d65dc5a7b2b692b","homepage":"https://github.com/DelightfulStudio/react-native-svgson#readme","_id":"@delightfulstudio/react-native-svgson@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"delightfulstudio","email":"accounts@delightful.studio"},"dist":{"integrity":"sha512-YF5ZM7tNQm5u/76tIn4xcUNkC+172Mnbi+JNWosv1ILlLUf9NlKXKdiB+363QyYAwaY5UJdxml76d/9G6dqvCA==","shasum":"b0c05de257131d7058ddb3bbf2f1dcc1a407e8ea","tarball":"https://registry.npmjs.org/@delightfulstudio/react-native-svgson/-/react-native-svgson-0.0.1.tgz","fileCount":5,"unpackedSize":218387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRtnkCRA9TVsSAnZWagAAbS0QAIgSO5o9J78KWKuhsJq6\njxV5sDf6pIshUP8NPxggK4shybiZqpwnhjCoIKnGUdSpzUXYEXymko9XpmRs\nQnyOa15CFb0t36Uav+XTUPLAuSkZEisPpQR0Pbckm8l/ZwnUQo9BGxDMpXBM\nU5X35pP/JDeocoo7nyrvgag8aS/Lij6xqS+tjApGdfC7xj6jE/yI566KnOw0\nRBZaeHDIvIpxr5lR7Nh/Ka2OX7hKsyArt8Lhk4TJYsuJ/pUdN/OTxb9Vilsq\nJIi37MjZXX2Sp+2k3y6/IjmSXEJa2XaMtPk9TkHgkCvu8d/JudkuhToXv7pc\n2zYMQIZW75KKU3MgXUk4ByCrm5fQas8kPBwygxANAfCunjl4Ks0BecP6GDmI\nHUG1rEEGcQ69JIvLJBmoSNuBmvzU7wo0Rnf4nJBCFLdO+8vTyNZAizLeRE0j\nxabULMW/Soic/BQZY8lr6/l/0ac/r5EQM1/hjy/9g1zPnHN2W4cldIg2pbJ5\nU/cN2A54nq4RwDPiDYNrs3YCb0P+VHPdQuiQMSGD4GWKXShedsFTXdVl8o3H\nD3OB3mDVok3GlqCRjHxyJJugMEKc+Ou1EPK9DeSnl8BGuJ83WtDsxH/w/X0d\nLkGALd6drpNM6jDUIAHJA4syuAsqJ8dlOEQD+1aCxZdOTlnOOucYB0IA/InG\ns/L4\r\n=0L5y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD359oC3Mbec1z2KPagcSd2ntz5NnXertO3156kU/MNAIhAMPWKwmVwE/wIEgVRQQmle9Fl3NCo6YJlGbw32XM5Bsr"}]},"maintainers":[{"name":"delightfulstudio","email":"accounts@delightful.studio"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-svgson_0.0.1_1531369956522_0.7519824514931315"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-12T04:32:36.284Z","0.0.1":"2018-07-12T04:32:36.626Z","modified":"2022-04-05T03:40:48.665Z"},"maintainers":[{"name":"delightfulstudio","email":"accounts@delightful.studio"}],"description":"Render SVG from a JSON definition generated by https://github.com/elrumordelaluz/svgson","homepage":"https://github.com/DelightfulStudio/react-native-svgson#readme","keywords":["react","native","json","svg","svgson","android","ios"],"repository":{"type":"git","url":"git+https://github.com/DelightfulStudio/react-native-svgson.git"},"contributors":[{"name":"Delightful Studio","email":"hello@delightful.studio"},{"name":"Jose Antonio Sanchez","email":"jasancheg@gmail.com"}],"bugs":{"url":"https://github.com/DelightfulStudio/react-native-svgson/issues"},"license":"MIT","readme":"# react-native-svgson\n\n - Render SVG from a JSON definition generated by https://github.com/elrumordelaluz/svgson\n - SVG rendering through [Expo.Svg](https://docs.expo.io/versions/latest/sdk/svg) or [react-native-svg](https://github.com/react-native-community/react-native-svg)\n - Dynamic styling of SVG elements by element type or ID\n\nBased on [react-native-svgx](https://github.com/jasancheg/react-native-svgx) by Jose Antonio Sanchez.\n\n## Installation\n\n```\n$ npm install @delightfulstudio/react-native-svgson --save\n```\n\n## Example\n\n```javascript\nimport * as Svg from 'react-native-svg';\n// or import { Svg } from 'expo';\nimport SvgJson from 'react-native-svgson';\n\nimport checkmark from '../icons/checkmark.json';\n\nfunction renderCheckmark() {\n  const styles = {\n    svg: {\n        height: 38, // override default dimensions\n        width: 38,\n    },\n    path: {\n        fill: '#000000' // all <path> elements\n    },\n    '#circle-path': {\n      fill: '#222222' // path with id=\"circle-path\"\n    }\n  };\n\n  return <SvgJson svgLib={Svg} data={checkmark} style={styles} />;\n}\n```\n","readmeFilename":"README.md"}