JavaScript API for sketchtool.
sketchtool-api allows you to access sketchtool command-line tool via a simple JavaScript API.
This package does not bundle sketchtool, you need to have it installed on your machine. You can follow the instructions here: https://www.sketchapp.com/tool/.
Notice: For now only the dump
command is supported.
npm install --save sketchtool-api
import sketchtool from 'sketchtool'
// Dump a document as JSON
const doc = await sketchtool.dump('my-awesome-design.sketch')
MIT © Nicolas Gryman