canvas
A simple canvas API.
Usage
To install, do
yarn add @sportshead/canvas
or
npm install @sportshead/canvas
If you would like to use it on the web, use this:
<script type="text/javascript" src="https://unpkg.com/@sportshead/canvas@latest/dist/main.js"></script>
You can use the bundle Typescript declaration files. The api is exposed at window.CanvasAPI
.