sketch-module-json-sync

A sketch module to export and import a sketch file to json

Usage no npm install needed!

<script type="module">
  import sketchModuleJsonSync from 'https://cdn.skypack.dev/sketch-module-json-sync';
</script>

README

sketch-module-json-sync

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

:baby_chick: 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