README
sketchtool-api
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.
Install
npm install --save sketchtool-api
Usage
import sketchtool from 'sketchtool'
// Dump a document as JSON
const doc = await sketchtool.dump('my-awesome-design.sketch')
License
MIT © Nicolas Gryman