@jdeighan/browser

1.0.3 • Public • Published

How to use this library

This library provides these functions:

inBrowser() - returns true if running in a browser beep(volume, freq, duration) - emit a beep defaults are (100, 520, 200) and are optional localStorageAvailable() - tests availability of localStorage getLocalStore(key, defVal={}) - converts using JSON.stringify() setLocalStore(key, value) - converts using JSON.stringify()

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @jdeighan/browser

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

4.85 kB

Total Files

4

Last publish

Collaborators

  • jdeighan