@vonage/snoop

[![Version](https://img.shields.io/npm/v/@vonage/snoop.svg)](https://www.npmjs.com/package/@vonage/snoop) [![Twitter: yinon_](https://img.shields.io/twitter/follow/yinon_.svg?style=social)](https://twitter.com/yinon_)

Usage no npm install needed!

<script type="module">
  import vonageSnoop from 'https://cdn.skypack.dev/@vonage/snoop';
</script>

README

Welcome to @vonage/snoop 👋

Version Twitter: yinon_

snoop is a packagd for logging browser events in order to follow occurings prior to an app failure

optional:

<head>
  <link rel="modulepreload" href="./node_modules/@vonage/snoop/snoop.umd.js" />
</head>

import:

<script type="module" src="./node_modules/@vonage/snoop/snoop.umd.js"></script>

Demo

Install

npm i

Usage

snoop.start()
snoop.stop()
snoop.resetLog()
snoop.getLog()
snoop.pushCustomEvent([custom event of any type])

Run tests

npm run test

Author

👤 Yinon Oved

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator