https://github.com/igorlukanin/uxperiment-sketch-plugin
UXperiment Sketch Export
https://github.com/igorlukanin/uxperiment-sketch-plugin
sketch sketch-plugin
Last synced: 17 days ago
JSON representation
UXperiment Sketch Export
- Host: GitHub
- URL: https://github.com/igorlukanin/uxperiment-sketch-plugin
- Owner: igorlukanin
- License: mit
- Created: 2017-01-16T07:26:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-19T10:47:23.000Z (about 8 years ago)
- Last Synced: 2025-03-24T21:05:20.769Z (about 1 month ago)
- Topics: sketch, sketch-plugin
- Language: JavaScript
- Homepage: https://uxperiment.io
- Size: 6.96 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# UXperiment Sketch Export
This plugin transforms a [Sketch](https://sketchapp.com) document into a JSON object and uploads it to a remote API endpoint. It has menu actions to select an initial artboard and setup layer-to-artboard and layer-to-URL transitions.
This plugin is a part of [UXperiment](https://uxperiment.io/user).
### Code Snippets
This plugin has a number of convenient library functions which may help to bootstrap your plugin:
* [config.js](UXperiment.sketchplugin/Contents/Sketch/src/config.js) — working with per-installation, per-document and per-layer config values
* [fs.js](UXperiment.sketchplugin/Contents/Sketch/src/fs.js) — working with binary and temporary files
* [i18n.js](UXperiment.sketchplugin/Contents/Sketch/src/i18n.js) — simple internationalization support
* [network.js](UXperiment.sketchplugin/Contents/Sketch/src/network.js) — sending GET and POST requests and parsing JSON responses
* [sketch.js](UXperiment.sketchplugin/Contents/Sketch/src/sketch.js) — traversing a Sketch document tree: pages, artboards, layers, selections
* [ui.js](UXperiment.sketchplugin/Contents/Sketch/src/ui.js) — simple UI interactions: toasts, modal dialogs