clean-sketch
v1.0.1
Published
Cleanup Sketch SVG files
Downloads
2,442
Readme
clean-sketch
Cleanup Sketch SVG files
Install
$ npm install --save-dev clean-sketch
Usage
var cleanSketch = require('clean-sketch');
var fs = require('fs');
// Cleanup a Sketch exported SVG
var svg = cleanSketch(fs.readFileSync('icon.svg', 'utf-8'));
API
cleanSketch(doc)
Removes Sketch namespaces and metadata.
doc
Type: String
License
MIT © Overblog