Skip to content

mockingbot/dom-snapshot

Repository files navigation

DOM Snapshot

i:npm i:ci i:size i:npm-dev

Get <canvas> from DOM string through SVG <foreignObject>.

Online DEMO

  • 📁 source/
    • main source code, in output package will be:
      • dom-snapshot/library: for direct use, use require() / exports.*=, in ES6+
      • dom-snapshot/module: for re-pack, keep import / export and readability
  • 📁 example/
    • some example (unsorted tests)
  • 📄 SPEC.md
    • list of all directly accessible codes, sort of API lockfile

About

Get `<canvas>` from DOM string through SVG `<foreignObject>`.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published