0.1.8 • Published 1 year ago

console.draw v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Overview

Draw <svg>, <img>, <canvas>, VideoFrames, and other graphics to the Dev Tools console.

Usage

yarn add console.draw
import { logSVG, logCanvas } from "console.draw";

logSVG(svgElement);
logCanvas(canvasElement);

Contributing

Setup

git clone git@github.com:seflless/console.draw.git
cd console.draw

Watching

yarn dev
# Open the workbench page at http://localhost:5173/

Building

yarn build

Testing

TBD

Publishing to NPM

Do the usual npm version bump then publish.

npm version <major|minor|patch>
git push; git push --tags
npm publish

Test

Using vitest, the test are rerun whenever you change related code.

yarn test

Watch Tests

TODO: Do we need to put in a difference command for the CLI?

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago