sketch-processor
v0.1.1
Published
Extracts assets from Sketch files and renders them to templates.
Downloads
7
Readme
Sketch Processor
Extracts assets from Sketch files and renders them to templates.
Installation
Sketch Processor works as a binary file, which can be installed globally:
$ npm install -g sketch-processor
...or locally:
$ npm install --save-dev sketch-processor
Use
Currently, only Abstract data sources are supported. You'll need an access token and project GUID from the Abstract SDK, stored as a local .env
file (see .env.sample
in this repository), before running this tool.
You'll also need a set of templates, stored in a templates
folder in the directory in which you run this tool, to be rendered after the Sketch data is extracted. Templates use the Handlebars format.
Once these items are in place, simply execute the tool:
$ sketch-processor