0.5.0 • Published 5 years ago

canlay v0.5.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

canlay

npm size

This is a small (<1KiB gzipped) and simple wrapper around the 2D canvas context. It provides simple utitlity functions that I think are useful.

Works with all modern evergreen browsers, as well as IE11 if you use any bundle except the ES6 module (.mjs).

Usage

npm install --save canlay

Either use modern ES6 modules (import canlay from 'canlay/dist/canlay.mjs';) or use the iife, system.js, umd or amd version in the dist subdirectory.

See the example in the test.html file on how to use the API.

License

MIT License, see LICENSE file.