Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sketch-parser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sketch-parser

sketchapp document parser

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

sketch-parser

Eliminate the differences in the output of the following two ways:

  • run sketchtool
  • unzip .sketch and read .json

version Node.js Sketch.app document Build Status

Class: Parser

new Parser(filePath, [needSketchTool])

  • filePath <String>
  • [needSketchTool] <Boolean>

Creates a new Parser object.

And sets the parser.filePath property to the provided sketch file path, maybe sets the parser.needSketchTool property to the provided option.

parser.needSketchTool

  • needSketchTool <Boolean>

Whether or not need sketchtool to get data, the default value is true.

parser.getDocumentData();

Returns a whole document's data.

parser.getPageDataList();

Returns a list containing all the page data.

license

MIT

Keywords

FAQs

Package last updated on 05 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc