this repo contains snippets which can be used in canvasdraw, and some utilities to ease the process.
click here to know more about canvasdraw.
run npm install
to install required dependencies. all available commands are in package.json
.
npm run serve
preview script result, useful when in dev mode.npm run pub snippet-name.js
publish this snippet, will return a viewable url.npm run cns
create new snippet. will create a new snippet with default content undersnippets
dir.npm run grm
generate readme for snippets. will create aREADME.md
undersnippets
dir, snippets not start with_
will be published.