Skip to content

sairion/svgcleaner-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

svgcleaner wrapper in node.js

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published