Socket
Socket
Sign inDemoInstall

browser-beep

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    browser-beep

Beeping sound in browser using Web Audio API


Version published
Weekly downloads
82
decreased by-56.15%
Maintainers
1
Install size
2.39 kB
Created
Weekly downloads
 

Readme

Source

browser-beep

Beeping sound in browser using Web Audio API.

npm install browser-beep

See the live demo.

Usage

The constructor accepts an options object with keys context (AudioContext instance), frequency (frequency in Hz) and interval (interval between multiple beeps).

var beep = require('browser-beep')({ frequency: 830 })

// Number of times to beep
beep(2)

Keywords

FAQs

Last updated on 16 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc