Sketch JSON Helper
a Sketch JSON helper to convert between Sketch JSON and Sketch Native Object
Usage
From Sketch JSON to Sketch Native Object
import { fromSJSON } from 'sketch-json-helper';
const sketchObject = fromSJSON(sketchJSON); // sketchJSON should be a legal sketch json
From Sketch Native Object to Sketch JSON
import { toSJSON } from 'sketch-json-helper';
const sketchJSON = toSJSON(sketchObject); // sketchObject should be a sketchObject
License
MIT ® Arvin Xu