Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "rsvg", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -27,3 +27,7 @@ | ||
console.log('SVG height: ' + svg.height); | ||
fs.writeFile('tiger.png', svg.renderPNG(600, 400).data); | ||
fs.writeFile('tiger.png', svg.render({ | ||
format: 'png', | ||
width: 600, | ||
height: 400 | ||
}).data); | ||
}); | ||
@@ -30,0 +34,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
46556
73
1