universal-canvas

small wrapper to use canvas across environments easily

npm install universal-canvas
2 downloads in the last week
4 downloads in the last month

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

npm loves you