Socket
Socket
Sign inDemoInstall

webpack-sound-plugin

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webpack-sound-plugin

Plays audio notifications when warnings / errors occured while building with webpack.


Version published
Maintainers
1
Install size
1.76 MB
Created

Readme

Source

webpack-sound-plugin

Plays audio notifications when warnings / errors occured while building with webpack.

Installation

$ npm i webpack-sound-plugin --save-dev
const SoundAlert = require('webpack-sound-plugin');

plugins: [
  ...
  new SoundAlert({
    warning: 'warning.mp3',
    error: 'error.mp3'
    // ok: 'ok.mp3'
  })
  ...
]

Audio Player Command Line

  • MAC OSX : afplay

    https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/afplay.1.html

    • afplay is build-in command line on macOS; you don't have to do anything for it.
  • UNIX : mpg123

    http://www.mpg123.de/

$ sudo apt-get install mpg123
  • Windows : dlc

    http://dlcplayer.jimdo.com/

    • dlc is build-in now, so you don't have to install command line by self.
    • You still can download dlcplayer from here if you want.

License

MIT

Keywords

FAQs

Last updated on 25 Mar 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