clean-sketch

Cleanup Sketch SVG files

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
clean-sketch
1.0.18 years ago8 years agoMinified + gzip package size for clean-sketch in KB

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