svgcleaner-node
v0.2.0
Published
svgcleaner wrapper in node.js
Downloads
6
Readme
svgcleaner-node
This project is Node.js wrapper over svgcleaner.
Usage
var svgCleaner = require('svgcleaner-node');
svgCleaner({
removeComments: true,
source: path.join(__dirname, 'fixture', 'removeComments.svg'),
target: path.join(__dirname, 'result', 'removeComments.svg')
}, {
dev: true,
outdir: path.join(__dirname, 'result')
})
Project status
Please note that this project is at unstable/development stage right now, everything can be changed. As of 0.1.x, macOS is only supported, but will provide binary for macOS / Windows / Linux soon and always as far as the svgcleaner project supports them.