Gathering detailed insights and metrics for display-notification
Gathering detailed insights and metrics for display-notification
Gathering detailed insights and metrics for display-notification
Gathering detailed insights and metrics for display-notification
npm install display-notification
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
87 Stars
18 Commits
5 Forks
6 Watching
1 Branches
3 Contributors
Updated on 27 Apr 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-10%
39,448
Compared to previous day
Last week
-0.9%
233,868
Compared to previous week
Last month
-10.1%
1,011,726
Compared to previous month
Last year
205.6%
11,507,013
Compared to previous year
2
Display a notification (macOS 10.9+)
$ npm install display-notification
1import displayNotification from 'display-notification'; 2 3await displayNotification({ 4 title: 'Unicorns', 5 subtitle: 'Rainbows', 6 text: 'Cake', 7 sound: 'Bottle' 8});
Returns a promise that resolves when the notification is shown.
Specify at least a title
or text
.
Type: string
Title of the notification.
Type: string
Subtitle of the notification.
Type: string
Content of the notification.
Type: string
Values: Basso
Blow
Bottle
Frog
Funk
Glass
Hero
Morse
Ping
Pop
Purr
Sosumi
Submarine
Tink
Name of the sound located in ~/Library/Sounds
or /System/Library/Sounds
:
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 2/18 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
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