node-sketch
node-sketch copied to clipboard
SVG exporting
Hello, I just came across this wonderful library and was really intrigued by it :) I was curious if there are any plans or any current way to export SVG's with this tool? I'm looking to build a sketch babel loader and was curious if I could use this to do it?
Hi. My short term plan is building a stable and solid framework to work with sketch files, providing a simple but powerful API to find, edit, move, delete or replace any element.
Once it's done, I'd like to add extra features (not sure if they should be provided as "plugins" or something similar). SVG exporting could be a really nice feature. At a first impression, seems somewhat difficult to achieve (svg exporting is a big deal), but I have not done any research about this.
Awesome, thank you for the explanation! Yeah, it seems the SVG construction will be hard :/ it'd be nice if Sketch opened up an API or small lib that could take Sketch JSON and build up an SVG somehow.
Hi, reminder from October, AWESOME job need maintain
Yes. This project is still alive, but I've been a bit bussy these months. Anyway, currently I'm open to pull requests and hope to have more time in the next months.
Very late here, but I've been using node-sketch to extract Symbols from layer upon layer looping through sketch.pages[0].layers and from there using shelljs and sketchtool to execute exporting to SVG (which is built into sketchtool). Hope that helps someone :)
I'm trying to use this to redo an old project that had gulp-sketch in its build pipeline, making it impossible to develop on with anything except a Mac, which I can't afford. sketchtool, of course, is only compatible with Mac.