{"_id":"browserify-inline-svg","_rev":"1763217","name":"browserify-inline-svg","description":"A browserify plugin to inline svgs directly into your markup.","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"busypixels","email":"ashtonharris.me@gmail.com"}],"time":{"modified":"2026-11-28T01:06:39.000Z","created":"2016-10-27T21:00:57.269Z","1.0.2":"2016-10-28T15:55:49.526Z","1.0.1":"2016-10-27T21:06:10.840Z","1.0.0":"2016-10-27T21:00:57.269Z"},"users":{},"author":{"name":"Ashton Harris","email":"ashtonharris.me@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/aharris/browserify-inline-svg.git"},"versions":{"1.0.2":{"name":"browserify-inline-svg","version":"1.0.2","description":"A browserify plugin to inline svgs directly into your markup.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aharris/browserify-inline-svg.git"},"author":{"name":"Ashton Harris","email":"ashtonharris.me@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/aharris/browserify-inline-svg/issues"},"homepage":"https://github.com/aharris/browserify-inline-svg#readme","dependencies":{"lodash":"^4.16.4","through2":"^2.0.1"},"gitHead":"47cea2ad711d54c49d3b16db4c809b266d8c66e8","_id":"browserify-inline-svg@1.0.2","_shasum":"2515849ebc6764cc13197baa50c26982e023ada6","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"busypixels","email":"ashtonharris.me@gmail.com"},"dist":{"shasum":"2515849ebc6764cc13197baa50c26982e023ada6","tarball":"http://registry-npm.ywwl.com/browserify-inline-svg/download/browserify-inline-svg-1.0.2.tgz","integrity":"sha512-wMyS4AjjcoohTUqtGpDi5SGT1S5KfOnur7pOj6hxGCg+w+rmuRI9e54GxAceQk8oE23q2FPVsc6mwPYh3tqeTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZn5ILU2LJwDeZF/5phHup3R4mQboAEWGkPJ2+ChUtnAiABqVmFViwLsJzxLkQHNwwqbE/YNRuM7FHcFYRwsgJJ4w=="}],"size":1713,"noattachment":false,"key":"/browserify-inline-svg/-/browserify-inline-svg-1.0.2.tgz"},"maintainers":[{"name":"busypixels","email":"ashtonharris.me@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/browserify-inline-svg-1.0.2.tgz_1477670147491_0.9336349815130234"},"publish_time":1477670149526,"_cnpm_publish_time":1477670149526},"1.0.1":{"name":"browserify-inline-svg","version":"1.0.1","description":"A browserify plugin to inline svgs directly into your markup.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aharris/browserify-inline-svg.git"},"author":{"name":"Ashton Harris","email":"ashtonharris.me@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/aharris/browserify-inline-svg/issues"},"homepage":"https://github.com/aharris/browserify-inline-svg#readme","dependencies":{"lodash":"^4.16.4","through2":"^2.0.1"},"gitHead":"75fb41baaadb785b87ecd68512559c673073ab89","_id":"browserify-inline-svg@1.0.1","_shasum":"2c125c2d6147f5f2bb40086cc105f5aa61e0f722","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"busypixels","email":"ashtonharris.me@gmail.com"},"dist":{"shasum":"2c125c2d6147f5f2bb40086cc105f5aa61e0f722","tarball":"http://registry-npm.ywwl.com/browserify-inline-svg/download/browserify-inline-svg-1.0.1.tgz","integrity":"sha512-wYYNuUcgNIHkwp/XznXx8EFoJNWJSmT3O5zLG2+ow09c6WIt3EWMkNytPGRvk+EiZoqydhgQHikqOkS4/fWygA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBRUfS8KNBoyISuhap4kExbAk32GY7BMXiXvknOkfLZCAiBKLKTAgM+wbESsO7QsPeRPIjZxR/eNHR1BkYiexJjVng=="}],"size":1713,"noattachment":false,"key":"/browserify-inline-svg/-/browserify-inline-svg-1.0.1.tgz"},"maintainers":[{"name":"busypixels","email":"ashtonharris.me@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/browserify-inline-svg-1.0.1.tgz_1477602368926_0.31500872410833836"},"publish_time":1477602370840,"_cnpm_publish_time":1477602370840},"1.0.0":{"name":"browserify-inline-svg","version":"1.0.0","description":"A browserify plugin to inline svgs directly into your markup.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aharris/browserify-inline-svg.git"},"author":{"name":"Ashton Harris","email":"ashtonharris.me@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/aharris/browserify-inline-svg/issues"},"homepage":"https://github.com/aharris/browserify-inline-svg#readme","dependencies":{"lodash":"^4.16.4","through2":"^2.0.1"},"gitHead":"b1d2d85109708a398afb56d98aa08a1a5ed3e9ba","_id":"browserify-inline-svg@1.0.0","_shasum":"21cb70ad0b17b8333136625e3fed0f51f59b256c","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"busypixels","email":"ashtonharris.me@gmail.com"},"dist":{"shasum":"21cb70ad0b17b8333136625e3fed0f51f59b256c","tarball":"http://registry-npm.ywwl.com/browserify-inline-svg/download/browserify-inline-svg-1.0.0.tgz","integrity":"sha512-PvBjjWkcjn0T8BzwL7hbNfdOHMZWz8Q90tT6hvLsx/9bjlHr5S3KkUsruiPwlOmgNw4NB8QevuwfPae4P+apzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDSQOxvh4LpAjBQcjaO7yO86v3PWN5N6B6Vz1nH78N0qAiBbuWYhLnXjVT3Lyfgwll55TFWEYzBcwSicJOt8F/MOfQ=="}],"size":1646,"noattachment":false,"key":"/browserify-inline-svg/-/browserify-inline-svg-1.0.0.tgz"},"maintainers":[{"name":"busypixels","email":"ashtonharris.me@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/browserify-inline-svg-1.0.0.tgz_1477602054825_0.07578435097821057"},"publish_time":1477602057269,"_cnpm_publish_time":1477602057269}},"readme":"# Browerify Inline svg\n\nA browserify plugin to inline svgs directly into your markup.\n\n\n## How?\n\nAdd the browserify plugin and pass in the `basePath`\n\n    var inlineSvg = require('browserify-inline-svg');\n\n    browserify( 'index.js' )\n      .bundle()\n      .pipe( inlineSvg({\n        basePath: './target/www/app/'\n      }))\n      .pipe(process.stdout);\n\nAdd `data-inline-svg` to your image\n\n    <img data-inline-svg class=\"my-icon\" src=\"assets/icons/my-icon.svg\" />\n\nThis file will be inlined as full svg code\n","_attachments":{},"homepage":"https://github.com/aharris/browserify-inline-svg#readme","bugs":{"url":"https://github.com/aharris/browserify-inline-svg/issues"},"license":"ISC"}