@sharyn/browser

Helpers for code that runs in the browser.

Usage no npm install needed!

<script type="module">
  import sharynBrowser from 'https://cdn.skypack.dev/@sharyn/browser';
</script>

README

🌹 @sharyn/browser

Helpers for code that runs in the browser.

Installation

npm i @sharyn/browser
# or
yarn add @sharyn/browser

You can alternatively install the entire sharyn library or individual modules.

Modules

  • clearCaches – Clears all the service worker caches
  • getFormData – Gives you the form data as a plain object

This package is part of Sharyn, a collection of utilities and helpers.