canova
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Canova

npm install canova

Example

import { draw, circle, rect } from 'canova'

draw(canvas, [
  circle(10, 10, 30, { fill: 'red' }),
  rect(10, 10, 30, 30, { fill: 'blue' }),
  rect(30, 10, 20, 30, { stroke: 'green', opacity: 0.3 }),
])

Readme

Keywords

none

Package Sidebar

Install

npm i canova

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

76.8 kB

Total Files

23

Last publish

Collaborators

  • ivanross