{"_id":"react-native-svg-uri","_rev":"13-19cb0f60a7b120d395b12f253c5a8bba","name":"react-native-svg-uri","description":"Render an SVG Image from an URL","dist-tags":{"latest":"1.2.3"},"versions":{"0.0.1":{"name":"react-native-svg-uri","version":"0.0.1","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","gitHead":"3caf5a57137270ed059b35e5bfac61e77ec1322c","_id":"react-native-svg-uri@0.0.1","_shasum":"7f9dedcaf26d822a0cc697fe742dfb9017ad9f7a","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.0.0","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"7f9dedcaf26d822a0cc697fe742dfb9017ad9f7a","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-0.0.1.tgz","integrity":"sha512-qXCkfiGHo41j3+CIjRfgiIFdvxlEpjJltfNowjBJWeE+m7aOL0MG5Z6NUgguNPqUW2IrJFsnBip3+o5ouqeb2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB8MhY/J8P50rZFw0FJDIkbbo3K9kx9T9qSeP82q7CQwIhANIlcauEwHsGAFgmOge/O3OSXi/T3WOVqn4VaKUqta81"}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-native-svg-uri-0.0.1.tgz_1474241454949_0.7004258020315319"}},"0.0.2":{"name":"react-native-svg-uri","version":"0.0.2","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","dependencies":{"xmldom":"^0.1.22","react-native-svg":"^4.3.1"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","gitHead":"b67edc02430fc7ea6bd2e9f800abd1eb837d3b77","_id":"react-native-svg-uri@0.0.2","_shasum":"76e70e95c866cbc2869ad3f6da04ec38277782d3","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.0.0","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"76e70e95c866cbc2869ad3f6da04ec38277782d3","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-0.0.2.tgz","integrity":"sha512-nBr0zcJmDfUdQZGHUYWaCvEhCZy7Fcznu5yaHEXwCNIFE8D/NXjzrd8Wo4V63/bkPV+QVlaBfrXZOnih11uwkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOS8Xp1Iu+F8g7T5tN1i9Wyf9grlD857QMM7JRyTXj0wIgfSGpX7tg1o4CjHXnSMgl/cMyxuOQoRoDUctcE2tNwFE="}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-native-svg-uri-0.0.2.tgz_1474242768009_0.7035268608015031"}},"0.0.3":{"name":"react-native-svg-uri","version":"0.0.3","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","dependencies":{"xmldom":"^0.1.22","react-native-svg":"^4.3.1"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","gitHead":"1ecf9547d85ca0563e73bdccf35205f4517a0bd1","_id":"react-native-svg-uri@0.0.3","_shasum":"160227ce3b96ac8b51aa9aec836b81469a69024e","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.0.0","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"160227ce3b96ac8b51aa9aec836b81469a69024e","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-0.0.3.tgz","integrity":"sha512-9M+5FA8QfYie//s2Pfs5qV5bQE8A+fI/Q1LbBkutzEVDNxQzXbzM98i0fyoXdSi+QG/Gf9XKxVn7Qnx7uVE9/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHGsxA3XzyX+9dzVN0QOdUY+q0e1JwujjvnDdZFJJKk1AiB+imnEVU3+MAdzanTDPWzJCb2X5ahf0dF3v6SLgtP0VQ=="}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-native-svg-uri-0.0.3.tgz_1474585643840_0.00486113503575325"}},"1.1.1":{"name":"react-native-svg-uri","version":"1.1.1","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","dependencies":{"xmldom":"^0.1.22","react-native-svg":"^4.3.1"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","gitHead":"d25385a8e95fe7fc0b3abc6773a7200651ee521b","_id":"react-native-svg-uri@1.1.1","_shasum":"1cb692b49e1c8766ecc20b914f84db9afb016746","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.0.0","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"1cb692b49e1c8766ecc20b914f84db9afb016746","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-1.1.1.tgz","integrity":"sha512-CdgHfbi1Q0VLMdo60etXrOnmFybYltusUSHhOejft/pWW+ANODuxnIj91Khz7WSqcjQYU/hDWqR8pC0ng+WmWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+yM1ecCArst/8QasCGihOriWOgfMUs1b5ZNeH/dnKsAiEAqrJw5E5fRNLxKCevHy1Yh24i8vyFBJq8F7pUrFawlzE="}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-native-svg-uri-1.1.1.tgz_1481212532286_0.7116053837817162"}},"1.1.2":{"name":"react-native-svg-uri","version":"1.1.2","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","dependencies":{"xmldom":"^0.1.22","react-native-svg":"^4.3.1"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","gitHead":"dfefd8c9bb4121b9b83de2aefa29b26060c95a9b","_id":"react-native-svg-uri@1.1.2","_shasum":"94fa749525a1bcb3b307ba591e8a196d6b609046","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.0.0","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"94fa749525a1bcb3b307ba591e8a196d6b609046","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-1.1.2.tgz","integrity":"sha512-RMrbh3H8QnL3Fuo/Xa7MlUNb1WTRjPgdQDaS58qUhTHycXoPwARj829lHrbbE8/Rj75HRa9LgO63M+so9V1KWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTeeW8R7bUI5C4QmZwHmFFMDnkR0FZgmsQMAgHEJjihAIgT3ZcedR6v5aDvEvVCH8uvYabohaCXFS1nswudSw1Cis="}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-native-svg-uri-1.1.2.tgz_1481213965813_0.09249983448535204"}},"1.2.0":{"name":"react-native-svg-uri","version":"1.2.0","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha --compilers js:babel-core/register"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","dependencies":{"xmldom":"^0.1.22","react-native-svg":"^4.3.1"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"642af5b7decf16fad52fe0e9279c670b6a8aea22","_id":"react-native-svg-uri@1.2.0","_shasum":"2e03023a35b044b9a65c9ddb843d5a3b2f23cb70","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"2e03023a35b044b9a65c9ddb843d5a3b2f23cb70","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-1.2.0.tgz","integrity":"sha512-cd3AyGjYTwuJTcv9oaHxw3HIW5fPiMX93BkBjJoAKIYN058fljFFOds2DTFsujj6gvrV02TD5S/AcfMX3T6Rxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk3FfyVv9vlbDzLW18Kj6DxjQB8n6BEpQIA0BdsiEiZgIhAI5DXA3D2+KyAH6oJPxDniIDaOc2ZwbLUAkghuj/B3GR"}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-native-svg-uri-1.2.0.tgz_1484753605324_0.7572239004075527"}},"1.2.1":{"name":"react-native-svg-uri","version":"1.2.1","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha --compilers js:babel-core/register"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","dependencies":{"xmldom":"^0.1.22"},"peerDependencies":{"react-native-svg":"^5.3.0"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","devDependencies":{"babel-core":"^6.24.1","babel-preset-react-native":"^2.1.0","chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"dd009acaf4f6c7988df1e7299d8d9b131f5c273d","_id":"react-native-svg-uri@1.2.1","_shasum":"ca1480ea2a86d5bec6117c37e98b68b71580afbf","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.2.1","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"ca1480ea2a86d5bec6117c37e98b68b71580afbf","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-1.2.1.tgz","integrity":"sha512-bB1Pm/s1Qwo06jGKB7pIXtdAfXvMMjKtQdKyqVIMaRmYz69Wcuol+4l0Lery6W+tLzp//V6YtTn5x63lhAUz4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRmcLvIujhsR1cIZ/ySvWzBJLXnN5kPWHuFOlJXFo6ywIhAIJY5oeoPBpuEKhicOCtpc0Fpt5owzd3olEJQ/SE4jNo"}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-svg-uri-1.2.1.tgz_1503865330786_0.9497586973011494"}},"1.2.2":{"name":"react-native-svg-uri","version":"1.2.2","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha --compilers js:babel-core/register"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","dependencies":{"xmldom":"^0.1.22"},"peerDependencies":{"react-native-svg":"^5.3.0"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","devDependencies":{"babel-core":"^6.24.1","babel-preset-react-native":"^2.1.0","chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"8e41aa917636253785ee7a6d84aedcb93ea8cc3c","_id":"react-native-svg-uri@1.2.2","_shasum":"a03ff8afdf04c9551320d70dbcb4e278cdf6ae1f","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.2.1","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"a03ff8afdf04c9551320d70dbcb4e278cdf6ae1f","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-1.2.2.tgz","integrity":"sha512-V407jsRSkAI0AOY+3zQaU9WbdBSF7nlab4lnyFTkkvvx/k0o4WTslQEfxHUtHQ/M8KgCQPnEw/3mWR8CyB/LBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrVJaqC549+/2bNnie2OVMu+fHfdGPsRkILVPHSF71eAiBdU42s7cbFVX5qxMfzxexhKvhpWW5BlNd2R8i/ZXJGlw=="}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-svg-uri-1.2.2.tgz_1510835117188_0.6187152860220522"}},"1.2.3":{"name":"react-native-svg-uri","version":"1.2.3","description":"Render an SVG Image from an URL","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha --compilers js:babel-core/register"},"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"keywords":["react-native","svg","url","uri","http"],"author":{"name":"Matias Cortes"},"license":"ISC","dependencies":{"xmldom":"^0.1.22"},"peerDependencies":{"react-native-svg":"^5.3.0"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","devDependencies":{"babel-core":"^6.24.1","babel-preset-react-native":"^2.1.0","chai":"^3.5.0","mocha":"^3.2.0"},"gitHead":"1e8b8d88afc5eef76754f2fe0a89b64804ab6da7","_id":"react-native-svg-uri@1.2.3","_shasum":"2f67f30564068a0fee68a751845332a5185a1aab","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.2.1","_npmUser":{"name":"matc4","email":"matias.s.cortes@gmail.com"},"dist":{"shasum":"2f67f30564068a0fee68a751845332a5185a1aab","tarball":"https://registry.npmjs.org/react-native-svg-uri/-/react-native-svg-uri-1.2.3.tgz","integrity":"sha512-yECSYs6KgX8XZj0IV3Z2fTOkldmtnG1dEDNoRXvJjPnQPTEzQ2VS1NXIgxukuGSN2jourVOvKLhhRo75QmRTaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn2i49eWNR2JTKEhS2rgIcVfUz7ze79DegW7X2j1iG5AIhAIgRwsKlkylQ6dk/78TbeQpo1ngaQ/4dbGTwj/ktF+SG"}]},"maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-svg-uri-1.2.3.tgz_1510835923255_0.11322553572244942"}}},"readme":"# react-native-svg-uri\nRender SVG images in React Native from an URL or a static file\n\nThis was tested with RN 0.33 and react-native-svg 4.3.1 (depends on this library)\n[react-native-svg](https://github.com/react-native-community/react-native-svg)\n\n\nNot all the svgs can be rendered, if you find problems fill an issue or a PR in\norder to contemplate all the cases\n\nInstall library from `npm`\n\n```bash\nnpm install react-native-svg-uri --save\n```\n\nLink library react-native-svg\n\n```bash\nreact-native link react-native-svg # not react-native-svg-uri !!!\n```\n\n## Props\n\n| Prop | Type | Default | Note |\n|---|---|---|---|\n| `source` | `ImageSource` |  | Same kind of `source` prop that `<Image />` component has\n| `svgXmlData` | `String` |  | You can pass the SVG as String directly\n| `fill` | `Color` |  | Overrides all fill attributes of the svg file\n\n## Known Bugs\n\n- [ANDROID] There is a problem with static SVG file on Android,\n  Works OK in debug mode but fails to load the file in release mode.\n  At the moment the only workaround is to pass the svg content in the svgXmlData prop.\n\n## <a name=\"Usage\">Usage</a>\n\nHere's a simple example:\n\n```javascript\nimport SvgUri from 'react-native-svg-uri';\n\nconst TestSvgUri = () => (\n  <View style={styles.container}>\n    <SvgUri\n      width=\"200\"\n      height=\"200\"\n      source={{uri:'http://thenewcode.com/assets/images/thumbnails/homer-simpson.svg'}}\n    />\n  </View>\n);\n```\n\nor a static file\n\n```javascript\n<SvgUri width=\"200\" height=\"200\" source={require('./img/homer.svg')} />\n```\n\nThis will render:\n\n![Component example](./screenshoots/sample.png)\n\n## Testing\n1. Make sure you have installed dependencies with `npm i`\n2. Run tests with `npm test`\n","maintainers":[{"name":"matc4","email":"matias.s.cortes@gmail.com"}],"time":{"modified":"2022-06-26T07:08:52.355Z","created":"2016-09-18T23:30:58.129Z","0.0.1":"2016-09-18T23:30:58.129Z","0.0.2":"2016-09-18T23:52:50.993Z","0.0.3":"2016-09-22T23:07:24.070Z","1.1.1":"2016-12-08T15:55:34.133Z","1.1.2":"2016-12-08T16:19:27.677Z","1.2.0":"2017-01-18T15:33:27.197Z","1.2.1":"2017-08-27T20:22:11.031Z","1.2.2":"2017-11-16T12:25:17.704Z","1.2.3":"2017-11-16T12:38:43.338Z"},"homepage":"https://github.com/matiascba/react-native-svg-uri#readme","keywords":["react-native","svg","url","uri","http"],"repository":{"type":"git","url":"git+https://github.com/matiascba/react-native-svg-uri.git"},"author":{"name":"Matias Cortes"},"bugs":{"url":"https://github.com/matiascba/react-native-svg-uri/issues"},"license":"ISC","readmeFilename":"README.md","users":{"asaupup":true,"nuwaio":true}}