render svg graphics using jsdom
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
.dockerignore
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
TODO
app.js
bw-logo.png
entry.sh
index.html
index.js
package.json
run.sh
widget.js

README.md

Wrapserver

Build Status

Render SVG graphics for bitwrap state machines using Node.js Express and browserify.

live example

Example from our tic-tac-to demo https://bitwrap.io/#octothorpe

Features

  • ServerSide - render svg graphics using javascript templates and jsdom

  • Browser - compiles into bundle.js for drawing svg widgets in browser

  • Aws-Lambda - render svg using API gateway & Lambda

    • NOTE: it's recommended to set the Memory Resource settings to >= 448 to keep render time < 1 sec

Development Notes

  • nodemon - can used for auto-reloading
  • npm run budo - run the budo dev server w/ autoreload