Skip to content

fostergn/svg-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A command line tool for extracting just the path from an .svg and overwriting the file. Removes masks, etc (generated via sketch)

Getting Started

git clone git@github.com:fostergn/svg-formatter.git

cd svg-formatter

npm install

chmod +x index.js

Run for individual file

./index.js --file="~/example.svg"

Run for directory of .svgs

./index.js --directory="~/svg-folder/"

About

Removes masks, <defs> from svgs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published