Skip to content

Latest commit

 

History

History
executable file
·
32 lines (20 loc) · 573 Bytes

Readme.md

File metadata and controls

executable file
·
32 lines (20 loc) · 573 Bytes

DEPRECATED - See Kactus for a working version of this

sketch-module-json-sync

sketch-module-json-sync is sketch module to export and import a sketch file to json.

🐤 experimental project

Installation

npm i -S sketch-module-json-sync

Usage

import { importFromJSON, exportToJSON } from 'sketch-module-json-sync'

export default function (context) {
  exportToJSON(context)
  importFromJSON(context)
}

TODO

  • allow to choose directory when no sketch file opened

License

MIT