draw things in your browser
You can easily set it up and export it if you want to do that.
// Create an editor
var element = document.querySelector("div"),
settings = {};
const x = new Drawing(element, settings);
x.create();
// Undo
x.undo();
// Redo
x.redo();
// Imports an image and adds it to the history
x.import("data:image/png;base64,...", true);
// Exports everything drawn to a data URL
var exported = x.export();