{"id":31048934,"url":"https://github.com/punwave/punwave-slack-notifier","last_synced_at":"2026-04-18T19:32:41.242Z","repository":{"id":143882122,"uuid":"83632582","full_name":"punwave/punwave-slack-notifier","owner":"punwave","description":"Code friendly notifier to send messages to Slack channel via webhook","archived":false,"fork":false,"pushed_at":"2018-02-05T09:10:15.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T00:50:32.407Z","etag":null,"topics":["alert","message","notification","notifier","slack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/punwave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-03-02T04:01:25.000Z","updated_at":"2018-02-05T14:54:41.000Z","dependencies_parsed_at":"2023-05-01T06:16:00.913Z","dependency_job_id":null,"html_url":"https://github.com/punwave/punwave-slack-notifier","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/punwave/punwave-slack-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punwave%2Fpunwave-slack-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punwave%2Fpunwave-slack-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punwave%2Fpunwave-slack-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punwave%2Fpunwave-slack-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punwave","download_url":"https://codeload.github.com/punwave/punwave-slack-notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punwave%2Fpunwave-slack-notifier/sbom","scorecard":{"id":749671,"data":{"date":"2025-08-11","repo":{"name":"github.com/punwave/punwave-slack-notifier","commit":"73ca01862c1f7477397da09b9b7a8cc3f9531045"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/19 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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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 10 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"}}]},"last_synced_at":"2025-08-22T19:54:59.485Z","repository_id":143882122,"created_at":"2025-08-22T19:54:59.485Z","updated_at":"2025-08-22T19:54:59.485Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["alert","message","notification","notifier","slack"],"created_at":"2025-09-14T21:24:42.596Z","updated_at":"2026-04-18T19:32:41.221Z","avatar_url":"https://github.com/punwave.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# punwave-slack-notifier\n\n[![NPM version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Coverage Status][codecov-image]][codecov-url]\n\n\u003e Code friendly notifier to send messages to Slack channel via webhook\n\n## Install\n\n```\n$ npm install --save punwave-slack-notifier\n```\n\n## Usage\n\n```js\nconst SlackNotifier = require('punwave-slack-notifier')\n\nconst notifier = new SlackNotifier(WEBHOOK_URL, {\n  channel: '#general',\n  username: 'webhookbot',\n})\n\nnotifier.send({\n  text: 'This is a line of text.\\nAnd this is another one.'\n}, (err, response) =\u003e {\n  if (err) console.error(err)\n  console.log(response)\n})\n```\n\n## API\n\n### notifier.send(options, callback)\n\nSend message to Slack channel.\n\n---\n\n#### Options\n\nFor setting `attachement` of message, please see [Slack API documentation](https://api.slack.com/docs/message-attachments) for reference.\n\n#### options.text\n\nIf you want to display some specific information, such as error stack trace, JavaScript object information or JSON (JavaScript Object Notation) formatted string for notifications, you can pass `{ text: [{ title: TITLE, code: CODE  }] }` for options to create code blocks.\n\n#### options.attachements\n\nIt used for customizing your notifications.\n\nIf your pass `{ attachements: [] }` for options, it will override default settings.\n\n---\n\n### notifier.success(options, callback)\n\nSend message that indicates a successful or positive action to Slack channel.\n\n---\n\n### notifier.warning(options, callback)\n\nSend message that indicates a warning that might need attention to Slack channel.\n\n---\n\n### notifier.danger(options, callback)\n\nSend message that indicates a dangerous or potentially negative action to Slack channel.\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/punwave-slack-notifier.svg\n[npm-url]: https://npmjs.org/package/punwave-slack-notifier\n[travis-image]: https://img.shields.io/travis/punwave/punwave-slack-notifier.svg\n[travis-url]: https://travis-ci.org/punwave/punwave-slack-notifier\n[codecov-image]: https://img.shields.io/codecov/c/github/punwave/punwave-slack-notifier.svg\n[codecov-url]: https://codecov.io/gh/punwave/punwave-slack-notifier\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunwave%2Fpunwave-slack-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunwave%2Fpunwave-slack-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunwave%2Fpunwave-slack-notifier/lists"}