Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mockingbot/dom-snapshot
Get `<canvas>` from DOM string through SVG `<foreignObject>`.
https://github.com/mockingbot/dom-snapshot
Last synced: 1 day ago
JSON representation
Get `<canvas>` from DOM string through SVG `<foreignObject>`.
- Host: GitHub
- URL: https://github.com/mockingbot/dom-snapshot
- Owner: mockingbot
- License: mit
- Created: 2017-12-22T07:03:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T10:00:09.000Z (over 3 years ago)
- Last Synced: 2024-04-26T04:21:46.888Z (8 months ago)
- Language: JavaScript
- Homepage: https://mockingbot.github.io/dom-snapshot/
- Size: 735 KB
- Stars: 14
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DOM Snapshot
[![i:npm]][l:npm]
[![i:ci]][l:ci]
[![i:size]][l:size]
[![i:npm-dev]][l:npm]Get `` from DOM string through SVG ``.
[Online DEMO][l:demo]
[i:npm]: https://img.shields.io/npm/v/dom-snapshot?colorB=blue
[i:npm-dev]: https://img.shields.io/npm/v/dom-snapshot/dev
[l:npm]: https://npm.im/dom-snapshot
[i:ci]: https://img.shields.io/github/workflow/status/mockingbot/dom-snapshot/ci-test
[l:ci]: https://github.com/mockingbot/dom-snapshot/actions?query=workflow:ci-test
[i:size]: https://packagephobia.now.sh/badge?p=dom-snapshot
[l:size]: https://packagephobia.now.sh/result?p=dom-snapshot
[l:demo]: https://mockingbot.github.io/dom-snapshot[//]: # (NON_PACKAGE_CONTENT)
- 📁 [source/](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/](example/)
- some example (unsorted tests)
- 📄 [SPEC.md](SPEC.md)
- list of all directly accessible codes, sort of API lockfile