JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 889734
  • Score
    100M100P100Q180507F
  • License MIT

Make your terminal beep

Package Exports

  • beeper

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (beeper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

beeper Build Status

Make your terminal beep

Useful as an attention grabber e.g. when an error happens.

Install

$ npm install --save beeper

Usage

var beeper = require('beeper');

beeper();
// beep one time

beeper(3);
// beep three times

beeper('****-*-*');
// beep, beep, beep, beep, pause, beep, pause, beep

API

It will not beep if stdout is not TTY or if the user supplies the --no-beep flag.

beeper([count|melody])

count

Type: number
Default: 1

How many times you want it to beep.

melody

Type: string

Construct your own melody by supplying a string of * for beep - for pause.

License

MIT © Sindre Sorhus