Installations
npm install beeper
Developer
sindresorhus
Developer Guide
Module System
ESM
Min. Node Version
>=12
Typescript Support
No
Node Version
16.0.0
NPM Version
7.10.0
Statistics
132 Stars
26 Commits
9 Forks
8 Watching
1 Branches
6 Contributors
Updated on 18 Jul 2024
Languages
JavaScript (92.3%)
TypeScript (7.7%)
Total Downloads
Cumulative downloads
Total Downloads
435,995,711
Last day
7.5%
170,280
Compared to previous day
Last week
5.3%
999,276
Compared to previous week
Last month
27.4%
3,742,764
Compared to previous month
Last year
-10.7%
35,356,228
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
beeper
Make your terminal beep
Useful as an attention grabber. For example, when an error happens.
Install
$ npm install beeper
Usage
1import beeper from 'beeper'; 2 3await beeper(); 4// beep one time 5 6await beeper(3); 7// beep three times 8 9await beeper('****-*-*'); 10// 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?)
beeper(melody?)
Returns a Promise<void>
that is resolved after the melody has ended.
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.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
security policy file detected
Details
- Info: security policy file detected: .github/security.md:1
- Info: Found linked content: .github/security.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/security.md:1
- Info: Found text in security policy: .github/security.md:1
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: license:0
- Info: FSF or OSI recognized license: MIT License: license:0
Reason
Found 5/23 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/beeper/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/beeper/main.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/main.yml:22
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 8 are checked with a SAST tool
Score
4.2
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More