Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

run-sketch-plugin

jongold2.1kMIT1.0.3

Run a Sketch plugin by name & bundle URL

sketchapp, sketch

readme

run-sketch-plugin

Run a Sketch plugin.

import runSketchPlugin from 'run-sketch-plugin';

runSketchPlugin({
  commandIdentifier: 'main',
  bundleURL: 'path/to/bundle.sketchplugin',
}).then({ stderr, stdout }) => {
  console.log(stdout)
}