npm

Need private packages and team management tools?Check out npm Orgs. »

audioalerts

1.1.10 • Public • Published

AudioAlerts.io JS Agent

The JS agent for triggering dings, cheers, chimes, and bings from both the browser and server. Don't spend time looking at dashboard when you can be audibly notified.

You'll need a AudioAlerts.io account to use this agent. If you don't have one, why not start a free trial today?

Quick Start

  1. Signup for AudioAlerts and get your token.
  2. Add a dependency on AudioAlerts with npm install audioalerts --save
  3. Install the agent in your app. You can paste the script tags into the <head> of your HTML:
<script src="PATH_TO_AUDIOALERTS/audioalerts.js"></script>
<script>
  window.AudioAlerts && AudioAlerts.install({ accountId: 'YOUR_ACCOUNT_ID', siteId: 'YOUR_SITE_ID' });
</script> 

Or you can bundle it as a module into your application.

import { AudioAlerts } from 'audioalerts';
AudioAlerts.install({ accountId: 'YOUR_ACCOUNT_ID', siteId: 'YOUR_SITE_ID' });
  1. Test it out by calling AudioAlerts.alert() somewhere in your application.
  2. You should hear an alert on AudioAlerts instantaneously.

More Information

You can find more information about how to install and configure the agent in the AudioAlerts.io Documentation. If you run into any trouble, let us know right away at support@audioalerts.io

install

npm i audioalerts

Downloadsweekly downloads

17

version

1.1.10

license

ISC

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability