A console polyfill for sketch
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.editorconfig
.gitignore
README.md
package.json

README.md

sketch-polyfill-console

A console polyfill for sketch. It is automatically included (when needed) when using skpm.

It is allow to log in both the JavaScript context and the Sketch channel, ie. it calls both console.x and log.

Installation

npm i -S sketch-polyfill-console

Usage

import console from 'sketch-polyfill-console'

console.log('hello world')