Skip to content
svgcleaner wrapper in node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
vendor
.gitignore
.npmignore
LICENSE.txt
README.md
args.json
createArgs.js
index.js
package.json

README.md

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.

You can’t perform that action at this time.