sketch-polyfill-console

A console polyfill for sketch

Usage no npm install needed!

<script type="module">
  import sketchPolyfillConsole from 'https://cdn.skypack.dev/sketch-polyfill-console';
</script>

README

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')