node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป

universal-canvas

universal-canvas

small wrapper to use canvas across environments easily

Uses the Canvas API on the browser and node-canvas on the server.

Installation

$ npm install nathan7/universal-canvas

or

$ component install nathan7/universal-canvas

API

new Canvas(width, height)

Returns a new canvas.

License

MIT