skpm / console

A drop in replacement for the console module enable system logging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A drop in replacement for the console module enable system logging

License:MIT License


Languages

Language:JavaScript 100.0%