{"_id":"rsvg","_rev":"31-0134f8d10f77123deea419be0788172d","name":"rsvg","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","dist-tags":{"latest":"0.2.5"},"versions":{"0.1.1":{"name":"rsvg","version":"0.1.1","repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"license":"MIT","scripts":{"install":"node-gyp rebuild"},"gypfile":true,"description":"**LibRSVG** is a SVG rendering library, which parses SVG files and renders them in various formats. The formats include:","bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.1.1","dist":{"shasum":"713681aceb68a8c21364204d2701681e2d9da120","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.1.1.tgz","integrity":"sha512-pnw+kwU6coY1gXwpuml8pdmQNKADJjMDwC6OOst5EQB+SL+r5zWeskGGYuPvOPPgEZg2THZBZULu5Vsq0DU9+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDRYIb1DyqK4ZjLVvpigkOnabTq50BCL1eZUSOhCA5lQIgVGw/Mqo/8/Tf11caO/o4RTxJrsrnQYII9JsMYWIi1ac="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.1.2":{"name":"rsvg","version":"0.1.2","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"license":"MIT","scripts":{"install":"node-gyp rebuild"},"gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.1.2","dist":{"shasum":"9cc800eaebabcd07d59c181dcadb0c9eca1921ed","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.1.2.tgz","integrity":"sha512-uenvAtT/4Q6s8hleNngt4U3m4bDK+sTZuHKPp5khJSdAYUNTIQ+ufMVx8Jh83uknzDcw5REq9sXAnJozD7Y0vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQhJ3zyb66H0M+qFj42vY7j+o8CMtJs322PqoZaIP+mgIgH3rlvTf6Ufu5nSe1oeQ4GHpFdmSBdrUpkIWweWttS8M="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.1.3":{"name":"rsvg","version":"0.1.3","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"license":"MIT","scripts":{"install":"node-gyp rebuild"},"gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.1.3","dist":{"shasum":"9aee5271e785631daf89c14c0cd5c90cb5c035c5","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.1.3.tgz","integrity":"sha512-WfqW8IU9aLkf38Z04NHKYXNjmjLA3SXY4pezsJXkkxyF+kdyFQDhGF70IiQ4ic1As7RiQvtaqwkc4yoYU3ox3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpotfSomsI/YRAq8JDJGeRvFysU2ZdcTSTtcYQcUBXQAiEAi+RE37HZAYVPnX7+fzB4nrfpf2X2v/ftb/F0Vcu/vts="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.1.4":{"name":"rsvg","version":"0.1.4","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","keywords":["svg","rendering","graphic","graphics","image","images","librsvg","cairo"],"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"license":"MIT","scripts":{"install":"node-gyp rebuild"},"gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.1.4","dist":{"shasum":"29ac8239844cf4c236697b661f5895e7f6b27f60","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.1.4.tgz","integrity":"sha512-JVsl1edBIPBGISgoJ0lX6kyQb9LyXXwOV8wg7aHPNx5ME8nFzbze471dLKnpvLlLlDX8iuYXU1XjjwLQt24amA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0BKEs3kr2IufIW0vDbBc+jPi/KyL54wepgVhqhfob0wIgATBp+AKi+KqjRGwRhBG8yEYbbVi8PgsdhbtxibpArvc="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.1.5":{"name":"rsvg","version":"0.1.5","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","keywords":["svg","render","renders","rendering","graphic","graphics","image","images","librsvg","cairo"],"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"license":"MIT","scripts":{"install":"node-gyp rebuild"},"gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.1.5","dist":{"shasum":"5b746c4b79823377a4cf9f8f3a0f934c1acabd54","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.1.5.tgz","integrity":"sha512-6QyL6J6ndeclrI/Dy7RwjIKhpTxYP7yfDV+ocFoOVVY8T332ziIQ/MNyfgiageY9ItCKaIjnNfT0g/X9k4nlaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKGAU/gKpCp6TMUQmN5cf34G9aRFgQ2KW513MWKetOZAiA0KzBlQchJp8zT6741XASv+O5kFi0iZV2qY/94Chv3VA=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.2.0":{"name":"rsvg","version":"0.2.0","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","keywords":["svg","render","renders","rendering","graphic","graphics","image","images","librsvg","cairo"],"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"scripts":{"test":"grunt test","install":"node-gyp rebuild"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.1","grunt-mocha-test":"~0.7.0","sinon":"~1.7.3","sinon-chai":"~2.4.0"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.2.0","dist":{"shasum":"c2ac47d3778c826c916e31ea71a77143922f5e9c","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.2.0.tgz","integrity":"sha512-DwB0DSe/tA0+MPTYDQ++vY7MeN32NT4ggH8s6NTLcpVlZLu+QHVxac4IIaFK0PsrleYZuvYUnkAKt3rAnjklng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvsWZ1GKBL8FxBnBIMzojOv/tySKxm2+j1Z2MCWtR2TAiEA59q0cF2DIBoLcafqZhUsE1VT+FwECmzJ5ULuBs0YHTw="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.2.1":{"name":"rsvg","version":"0.2.1","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","keywords":["svg","render","renders","rendering","graphic","graphics","image","images","librsvg","cairo"],"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"scripts":{"test":"grunt test","install":"node-gyp rebuild"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.1","grunt-mocha-test":"~0.7.0","sinon":"~1.7.3","sinon-chai":"~2.4.0"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.2.1","dist":{"shasum":"018ee1ef53d9e744e44e521f937ad65d336a846e","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.2.1.tgz","integrity":"sha512-zf5DrgqCsX39kx9hMD8Jm5OZvI7bn7XWlKyep2XpR6xdKzSLiXAJXG3AJW+jGiVL8ZFujAwGb2kFLgDIKexUmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHFnN6zNhcdgaDqOcco7J4V/C+9BapSJLPFEw1oZmQ5gIhALW7unBGRXXPl/aqMfe8WKK1YiMD/MuohuAYAp5STbs0"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.2.2":{"name":"rsvg","version":"0.2.2","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","keywords":["svg","render","renders","rendering","graphic","graphics","image","images","librsvg","cairo"],"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"scripts":{"test":"grunt test","install":"node-gyp rebuild"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.1","grunt-mocha-test":"~0.7.0","sinon":"~1.7.3","sinon-chai":"~2.4.0"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.2.2","dist":{"shasum":"6099700830790d5e60c097dd75ba75c6004d8d06","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.2.2.tgz","integrity":"sha512-dvPTtP9xP1ngyXuiQyzsgHJyvOAu0WorgukGBGMLr2q/xZc40N9oUpc0/EkOu7kAFLTYPiBgMRm6SGtz7iBDRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8U5aVCAFZK9z38prqQRLw9cOBl8ySJtxkSDQW+ZvsfAiEA7k8CvlmDh0NmfuISe8xg9PEFScIhpg1Fu3IUHfeZvQE="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.2.3":{"name":"rsvg","version":"0.2.3","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","keywords":["svg","render","renders","rendering","graphic","graphics","image","images","librsvg","cairo"],"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"scripts":{"test":"grunt test","install":"node-gyp rebuild"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.1","grunt-mocha-test":"~0.7.0","sinon":"~1.7.3","sinon-chai":"~2.4.0"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"_id":"rsvg@0.2.3","dist":{"shasum":"0cf7703b2dac74d99ba50e14d1f3f70476e0cab1","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.2.3.tgz","integrity":"sha512-JgVZhO80FlMxz2rXZbfAkHl6Itjqy5WVQf/sJtwCZouBQkr3AAnUaJDAFWUUeESGVwfdtehhEtcxPl+qlAULIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJwYD2aez443JGZe84iKo5FISlMHypUYTaDYy57LRSiAiB3hUGDLPiqHihNp7aJR07SWwAWDrnN1egklsUyoHQRSw=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.2.4":{"name":"rsvg","version":"0.2.4","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","keywords":["svg","render","renders","rendering","graphic","graphics","image","images","librsvg","cairo"],"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"scripts":{"test":"grunt test","install":"node-gyp rebuild"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.1","grunt-mocha-test":"~0.7.0","sinon":"~1.7.3","sinon-chai":"~2.4.0"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"homepage":"https://github.com/walling/node-rsvg","_id":"rsvg@0.2.4","dist":{"shasum":"1a51244437388dafd336f17e38ac9009f882d7ed","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.2.4.tgz","integrity":"sha512-ZUUlLG0fJMDtrpxSZSKHiNnHOyzVShfiHZSDjeq2nO1hv4Vgc3fooBkhaBZ5OkMYp8C34fZU5GpjYuXK3zqriA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5NiI7TnblBwWr+60jEYAeqRTCBnCHoGVECTFWxscScAIhAMW1zrItenwS3PJmbDsHoZPosDSM9LYOZiziYrfUGnBp"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]},"0.2.5":{"name":"rsvg","version":"0.2.5","description":"Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.","keywords":["svg","render","renders","rendering","graphic","graphics","image","images","librsvg","cairo"],"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"scripts":{"test":"grunt test","install":"node-gyp rebuild"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.1","grunt-mocha-test":"~0.7.0","sinon":"~1.7.3","sinon-chai":"~2.4.0"},"license":"MIT","gypfile":true,"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"homepage":"https://github.com/walling/node-rsvg","_id":"rsvg@0.2.5","dist":{"shasum":"735755f248ac55f3b277e8c5063d2aabbe243212","tarball":"https://registry.npmjs.org/rsvg/-/rsvg-0.2.5.tgz","integrity":"sha512-/ZXkcZ3aEPVHn5VG4X/FpQIABOm2YCdshOkRaW2/Jc6cXF+iZMi8sN6RQhjIQjrDkU4h7s9ETbohvUWO51I4qA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlf1ZVANCrCTHvAaQbzMRFRWXVO21oUgzPe9jylBgxcAiBpYGIg4WBx/goWVQNxP/WWOMbNMAw4P717Ry11oReOAQ=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"walling","email":"bwp@bwp.dk"},"maintainers":[{"name":"walling","email":"bwp@bwp.dk"}]}},"readme":"# Node.JS Binding for LibRSVG\n\n**LibRSVG** is a SVG rendering library, which parses SVG files and renders them in various formats. The formats include:\n\n *  PNG\n *  PDF\n *  SVG\n *  Raw memory buffer image\n\n[![Build Status](https://travis-ci.org/walling/node-rsvg.png?branch=master)](https://travis-ci.org/walling/node-rsvg)\n\n\n## Basic Usage\n\nHere is a simple example. Look in `index.js` for more documentation.\n\n```javascript\nvar Rsvg = require('rsvg').Rsvg;\nvar fs = require('fs');\n\n// Create SVG render instance.\nvar svg = new Rsvg();\n\n// When finishing reading SVG, render and save as PNG image.\nsvg.on('finish', function() {\n  console.log('SVG width: ' + svg.width);\n  console.log('SVG height: ' + svg.height);\n  fs.writeFile('tiger.png', svg.render({\n    format: 'png',\n    width: 600,\n    height: 400\n  }).data);\n});\n\n// Stream SVG file into render instance.\nfs.createReadStream('tiger.svg').pipe(svg);\n```\n\n\n## Installation\n\nFirst install the LibRSVG library and header files. Usually you have to look for a *development* package version. You must also have a functioning build tool chain including `pkg-config`. You can find instructions for different operating systems below. After that, you simply run:\n\n```bash\nnpm install rsvg\n```\n\nLibrary versions known to work:\n\n *  LibRSVG 2.26+\n *  Cairo 1.8.8+\n\n#### Ubuntu:\n\n```bash\nsudo apt-get install librsvg2-dev\n```\n\n#### RedHat / OpenSUSE:\n\n```bash\nsudo yum install librsvg2-devel\n```\n\n#### Mac OS X:\n\n```bash\nbrew install librsvg\n```\n\nIf, after installing LibRSVG through homebrew you are experiencing issues installing this module, try manually exporting the package config with this command:\n\n```bash\nexport PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig\n```\n\nThen try reinstalling this module. For further information, [see this thread](https://github.com/Homebrew/homebrew/issues/14123).\n\n#### Windows:\n\nN/A; pull requests are accepted!\n","maintainers":[{"name":"walling","email":"bwp@bwp.dk"}],"time":{"modified":"2022-06-26T14:35:40.791Z","created":"2013-12-02T11:17:35.069Z","0.1.1":"2013-12-02T11:17:37.863Z","0.1.2":"2013-12-02T11:22:19.937Z","0.1.3":"2013-12-02T13:03:56.576Z","0.1.4":"2013-12-03T09:01:57.782Z","0.1.5":"2013-12-10T10:50:52.459Z","0.2.0":"2013-12-17T09:58:57.422Z","0.2.1":"2013-12-17T10:07:26.160Z","0.2.2":"2013-12-17T15:55:24.294Z","0.2.3":"2014-01-16T14:17:43.115Z","0.2.4":"2014-05-19T10:45:38.423Z","0.2.5":"2014-05-19T10:45:48.042Z"},"repository":{"type":"git","url":"https://github.com/walling/node-rsvg.git"},"readmeFilename":"readme.md","homepage":"https://github.com/walling/node-rsvg","keywords":["svg","render","renders","rendering","graphic","graphics","image","images","librsvg","cairo"],"bugs":{"url":"https://github.com/walling/node-rsvg/issues"},"license":"MIT","users":{"chrisaiv":true,"nayrangnu":true,"brandonpapworth":true,"detj":true,"cdparra":true}}