0.1.2 • Published 5 years ago

canvo v0.1.2

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

Canvo

An easy to implement, well-featured image editor that uses HTML5 Canvas.

Installation

Browser

Just download canvo.browser.js from the dist/ directory in this repo and include the following in the bottom of your <body> before any other scripts:

<script type='text/javscript' src='/path/to/canvo.browser.js'></script>

Bower

Run this in your projects main directory:

bower install canvo

Then include it like this:

<script type='text/javascript' src='/path/to/bower_components/canvo/dist/canvo.browser.js'></script>

Node

Use your choice of package manager to install canvo, and import it using one of these two methods:

CommonJS (e.g. require()):

const Editor = require('canvo');

// Use it below (you should know this)...

ESModules (e.g. Webpack or Rollup):

import Editor from 'canvo';

// Use it below (you should know this)...

You should know this stuff anyway, I just try to make my READMEs idiot-proof.