@skpm/console

A console polyfill for sketch

Usage no npm install needed!

<script type="module">
  import skpmConsole from 'https://cdn.skypack.dev/@skpm/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 @skpm/console

Usage

import Console from "@skpm/console"

const console = Console()

console.log("hello world")