{"id":32233744,"url":"https://github.com/csilva2810/notifier","last_synced_at":"2025-10-22T12:36:04.140Z","repository":{"id":38955964,"uuid":"42251811","full_name":"csilva2810/notifier","owner":"csilva2810","description":"Notifications library made with VanillaJS.","archived":false,"fork":false,"pushed_at":"2023-05-03T22:42:39.000Z","size":4125,"stargazers_count":69,"open_issues_count":4,"forks_count":24,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-19T08:02:09.552Z","etag":null,"topics":["frontend","javascript","library","notifications","vanilla-js"],"latest_commit_sha":null,"homepage":"http://csilva2810.github.io/notifier/docs/en/index.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csilva2810.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-10T15:05:23.000Z","updated_at":"2025-08-27T12:07:53.000Z","dependencies_parsed_at":"2024-06-21T15:45:41.339Z","dependency_job_id":"9241cdac-5ef8-4c69-a0fb-c0eea0b49565","html_url":"https://github.com/csilva2810/notifier","commit_stats":{"total_commits":33,"total_committers":3,"mean_commits":11.0,"dds":"0.12121212121212122","last_synced_commit":"7012703d3d00c0d03f5c140ae43d3c57b17a7c1c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/csilva2810/notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csilva2810%2Fnotifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csilva2810%2Fnotifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csilva2810%2Fnotifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csilva2810%2Fnotifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csilva2810","download_url":"https://codeload.github.com/csilva2810/notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csilva2810%2Fnotifier/sbom","scorecard":{"id":310924,"data":{"date":"2025-08-11","repo":{"name":"github.com/csilva2810/notifier","commit":"7012703d3d00c0d03f5c140ae43d3c57b17a7c1c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"26 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-wxhq-pm8v-cw75","Warn: Project is vulnerable to: GHSA-6cpc-mj5c-m9rq","Warn: Project is vulnerable to: GHSA-957j-59c2-j692","Warn: Project is vulnerable to: GHSA-m5pj-vjjf-4m3h","Warn: Project is vulnerable to: GHSA-j383-35pm-c5h4","Warn: Project is vulnerable to: GHSA-rm36-94g8-835r","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-hxm2-r34f-qmc5","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-v2p6-4mp7-3r9v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T23:10:03.769Z","repository_id":38955964,"created_at":"2025-08-17T23:10:03.769Z","updated_at":"2025-08-17T23:10:03.769Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280438621,"owners_count":26331168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frontend","javascript","library","notifications","vanilla-js"],"created_at":"2025-10-22T12:36:01.493Z","updated_at":"2025-10-22T12:36:04.133Z","avatar_url":"https://github.com/csilva2810.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notifier\nNotifications library made with VanillaJS.\n\n## Instalation\n```shell\nnpm install notifier-js\n```\n\n## Usage\n\n### Default Notifications\n```javascript\n// my-script.js\nimport notifier from 'notifier-js'\n\nnotifier.show('Hello!' , 'I am a default notification.');\nnotifier.show('Reminder!', 'You have a meeting at 10:30 AM.');\nnotifier.show('Well Done!', 'You just submit your resume successfuly.');\nnotifier.show('Warning!' , 'The data presented here can be change.');\nnotifier.show('Sorry!', 'Could not complete your transaction.');\n```\n\n### Notifications with icons\n```javascript\nimport notifier from 'notifier-js'\n\nnotifier.show('Default!' , 'I am a default notification.', '', 'img/clock-48.png', 0);\nnotifier.show('Reminder!', 'You have a meeting at 10:30 AM.', '', 'img/survey-48.png', 0);\nnotifier.show('Well Done!', 'You just submit your resume successfuly.', '', 'img/ok-48.png', 0);\nnotifier.show('Warning!' , 'The data presented here can be change.', '', 'img/medium_priority-48.png', 0);\nnotifier.show('Sorry!', 'Could not complete your transaction.', '', 'img/high_priority-48.png', 0);\n```\n\n### Auto Dismissable Notifications\n```javascript\nimport notifier from 'notifier-js'\n\nnotifier.show('Default!' , 'I am a default notification.', '', 'img/clock-48.png', 4000);\nnotifier.show('Reminder!', 'You have a meeting at 10:30 AM.', '', 'img/survey-48.png', 4000);\nnotifier.show('Well Done!', 'You just submit your resume successfuly.', '', 'img/ok-48.png', 4000);\nnotifier.show('Warning!' , 'The data presented here can be change.', '', 'img/medium_priority-48.png', 4000);\nnotifier.show('Sorry!', 'Could not complete your transaction.', '', 'img/high_priority-48.png', 4000);\n```\n\n### Programmatically closing a notification\n```javascript\nimport notifier from 'notifier-js'\n\nlet notificationId;\nconst showNotification = function () {\n    notificationId = notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', '', 'img/survey-48.png', 4000);\n};\nconst hideNotification = function () {\n    notifier.hide(notificationId);\n};\n\ndocument.querySelector('#show-button').addEventListener('click', showNotification);\ndocument.querySelector('#hide-button').addEventListener('click', hideNotification);\n```\n\nClick [here](http://csilva2810.github.io/notifier/docs/en/index.html) to se the complete usage reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsilva2810%2Fnotifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsilva2810%2Fnotifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsilva2810%2Fnotifier/lists"}