Cleanup Sketch SVG files
$ npm install --save-dev clean-sketch
var cleanSketch = require('clean-sketch');
var fs = require('fs');
// Cleanup a Sketch exported SVG
var svg = cleanSketch(fs.readFileSync('icon.svg', 'utf-8'));
Removes Sketch namespaces and metadata.
Type: String
MIT © Overblog