Transform sketch files to json and json to sketch files
$ yarn add sketch-json
const sketchJson = require('sketch-json') sketchJson.toJson().then(() => console.log('Done!')) // => Done! sketchJson.toSketch().then(() => console.log('Done!')) // => Done!
Different from sketch2json, with
sketch-json you can transform
sketch-json will generate the
json files by zipping the
sketch file and decompressing it. By doing that a sketch folder will be generated with all json files
The idea of this libraries is to prepare json files to be pushed/pull to github/gitlab/etc. Version control for designers!
Transform Sketch files to json
Transform json files to Sketch
MIT © Bu Kinoshita