package
Make your terminal beep
npm install beeperGitHub-flavored package documentation.
Across all versions, last 30 days.
3,235,410 in 30 days
Runtime metadata.
Tagged topics.
Make your terminal beep

Useful as an attention grabber. For example, when an error happens.
$ npm install beeperimport beeper from 'beeper';
await beeper();
// beep one time
await beeper(3);
// beep three times
await beeper('****-*-*');
// beep, beep, beep, beep, pause, beep, pause, beepIt will not beep if stdout is not TTY or if the user supplies the --no-beep flag.
Returns a Promise<void> that is resolved after the melody has ended.
Type: number
Default: 1
How many times you want it to beep.
Type: string
Construct your own melody by supplying a string of * for beep - for pause.
Estimated unpacked size across 2 packages.
8.0 kB
Includes dependencies.