Skip to content

arvinxx/sketch-json-helper

Repository files navigation

Sketch JSON Helper

NPM version Release CI

Gitmoji semantic-release

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

About

convert between Sketch JSON and Sketch Native Object

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •