{"id":31936445,"url":"https://github.com/stitchng/infobip","last_synced_at":"2026-04-19T17:12:16.312Z","repository":{"id":34931548,"uuid":"189562434","full_name":"stitchng/infobip","owner":"stitchng","description":"A NodeJS Wrapper for InfoBip","archived":false,"fork":false,"pushed_at":"2023-05-01T06:17:49.000Z","size":383,"stargazers_count":1,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T17:29:07.574Z","etag":null,"topics":["bulksms","bulkvoice","infobip","nodejs","rest-api","sms","sms-api","tts"],"latest_commit_sha":null,"homepage":null,"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/stitchng.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2019-05-31T08:58:08.000Z","updated_at":"2021-12-17T14:13:15.000Z","dependencies_parsed_at":"2024-06-21T07:11:52.101Z","dependency_job_id":"8453327e-4788-48c4-bc29-ce7ba32572a1","html_url":"https://github.com/stitchng/infobip","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/stitchng/infobip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Finfobip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Finfobip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Finfobip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Finfobip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stitchng","download_url":"https://codeload.github.com/stitchng/infobip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stitchng%2Finfobip/sbom","scorecard":{"id":853484,"data":{"date":"2025-08-11","repo":{"name":"github.com/stitchng/infobip","commit":"131b0949f6821149865dc447cf6a89d5cf3e8445"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/18 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"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":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 15 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":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-3gx7-xhv7-5mx3","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","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-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-23T23:10:41.783Z","repository_id":34931548,"created_at":"2025-08-23T23:10:41.783Z","updated_at":"2025-08-23T23:10:41.783Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018217,"owners_count":26086308,"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-14T02:00:06.444Z","response_time":60,"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":["bulksms","bulkvoice","infobip","nodejs","rest-api","sms","sms-api","tts"],"created_at":"2025-10-14T07:42:44.444Z","updated_at":"2025-10-14T07:42:46.772Z","avatar_url":"https://github.com/stitchng.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infobip\n\n[![NPM Version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n\nA NodeJS Wrapper for [InfoBip](https://www.infobip.com/docs/api#channels/)\n\n## Overview\nThis project provides an easy-to-use object-oriented API to access endpoints delineated at https://www.infobip.com/docs/api\n\n\n## Installation\n\n\u003eInstall from the NPM Registry\n\n```bash\n\n  npm i --save infobip-nodejs\n\n```\n\n# Usage\n\n```js\n\nlet InfoBip = require('infobip-nodejs')\n\nlet APIKEY = '1IkXmSWOlE4y9Inhgyd6g5f2R7'\nconst environment = process.env.NODE_ENV\nconst isProduction = (environment === 'production')\n\nconst infobip = new InfoBip(APIKEY, isProduction, {\n  authType:'basic',\n  username:'user', // Infobip Username used for registration\n  password:'*******', // Infobip Password used for registration\n  encrypted:false,\n  baseHost: 'okllaq.api.infobip.com'\n})\n\n/* \n  Send SMS to two mobile numbers  \n  \n  - NB: make sure the Sender ID is registred with infobip before use\n*/\nconst promise = infobip.sendSMS({\n  messages: [{\n    from: \"YourCompanyName\", // Sender ID\n    destinations: [\n      { to: '+2348164422256' },  // MTN Numbers\n      { to: '+2347039664638' }\n    ],\n    text: 'Dear Customer, Thanks for registering with our service.'\n  }],\n  bulkId: \"BULK-ID-awq6545pOu7ye6\" // Auto-generated with prefix: \"BULK-ID-\"\n})\n\npromise.then( response =\u003e {\n const { body } = response\n console.log('response body: ', body)\n}).catch( error =\u003e {\n  console.error(error)\n})\n\n```\n\n## API Resources\n\n- infobip.sendSMS()\n- infobip.sendSMSBinary()\n- infobip.sendVoice()\n\n## Mocking instance for Unit/Integration Tests\n\n```js\n\nconst APIKEY = \"hJ5Ds2e49jk0UiLa8fq36Sw7Y\"\nconst isProduction = false\nconst infobip = new InfoBip(APIKEY, isProduction, {\n  authType:'basic',\n  username:'user', // Infobip Username used for registration\n  password:'*********', // Infobip Password used for registration\n  encrypted:false,\n  baseHost: 'okllaq.api.infobip.com'\n});\n\n// start mocking on instance (during a unit/integration test)\ninfobip.engageMock()\n\n// calling a mocked method sendVoice()\ninfobip.sendVoice({\n  from: \"MyCompanyName\", // Sender ID\n  to: \"+2349023465560\", // Airtel Number\n  language: \"en\",\n  voice: {\n    name: \"Paul\",\n    gender: \"male\"\n  }\n  text: \"Just Saying Hello\"\n});\n\n// stop mocking on instance\ninfobip.disengageMock()\n\n// It's also possible to swap out mocked methods\n// with custom implementations\ninfobip.mockMacro('sendSMS', function (params) {\n  return Promise.reject({\n    messageId: \"xxxxxxxxxxxxxxxxxxxxxxxxx\"\n  });\n});\n```\n\n# License\n\nMIT\n\n# Credits\n\n- [Ifeora Okechukwu](https://twitter.com/isocroft)\n\n# Contributing\n\nSee the [CONTRIBUTING.md](https://github.com/stitchng/infobip/blob/master/CONTRIBUTING.md) file for info\n\n[npm-image]: https://img.shields.io/npm/v/infobip-nodejs.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/infobip-nodejs\n\n[travis-image]: https://img.shields.io/travis/stitchng/infobip/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/stitchng/infobip","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstitchng%2Finfobip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstitchng%2Finfobip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstitchng%2Finfobip/lists"}