New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

sketchtool-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sketchtool-cli

CLI wrapped around Sketch.app's sketchtool binary

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

sketchtool-cli

Simple cli wrapped around Sketch.app's sketchtool binary.

Will always use the binary installed with Sketch, so whenever Sketch updates, it takes the updated version of sketchtool as well.

Usage

yarn add sketchtool-cli
const sketchtool = require('sketchtool-cli');

// Check if sketchtool binary is available
sketchtool.check();

// Get current version (string)
sketchtool.version();  // = sketchtool --version

// Get path to sketch plugin folder
sketchtool.pluginFolder();  // = sketchtool show plugins

// Execute any command
sketchtool.run('dump ~/myFile.sketch');

// Abstractions for most commonly used commands
sketchtool.dump('~/myFile.sketch');  // = sketchtool dump ~/myFile.sketch
sketchtool.list('pages', '~/myFile.sketch');  // = sketchtool list pages ~/myFile.sketch

Keywords

sketchtool

FAQs

Package last updated on 29 Dec 2018

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