window-snapshot
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

window-snapshot

✨ Create snapshots for window object in browser.

Hijack

  • EventTarget: addEventListener
  • GlobalEventHandlers: onevent
  • Timer: setTimeout/setInterval

Diff

  • document.head tags
  • document.body tags
  • Global Attributes: window/document/document.head/document.body/document.documentElement

Performace

name create rollback
window-snapshot 0.2ms 2ms

Readme

Keywords

none

Package Sidebar

Install

npm i window-snapshot

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

127 kB

Total Files

64

Last publish

Collaborators

  • orekish