{"id":50288539,"url":"https://github.com/codewithveek/termii-js","last_synced_at":"2026-05-28T04:04:02.284Z","repository":{"id":64844336,"uuid":"577303380","full_name":"codewithveek/termii-js","owner":"codewithveek","description":"A Javascript SDK for Termii SMS \u0026 OTP","archived":false,"fork":false,"pushed_at":"2022-12-13T13:37:12.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-04T14:37:18.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/codewithveek.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}},"created_at":"2022-12-12T12:49:06.000Z","updated_at":"2022-12-12T13:35:01.000Z","dependencies_parsed_at":"2022-12-16T07:03:44.097Z","dependency_job_id":null,"html_url":"https://github.com/codewithveek/termii-js","commit_stats":null,"previous_names":["darkcodewrangler/termii-js","lucky-victory/termii-js","codewithveek/termii-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codewithveek/termii-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithveek%2Ftermii-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithveek%2Ftermii-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithveek%2Ftermii-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithveek%2Ftermii-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithveek","download_url":"https://codeload.github.com/codewithveek/termii-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithveek%2Ftermii-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33593411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2026-05-28T04:04:01.716Z","updated_at":"2026-05-28T04:04:02.271Z","avatar_url":"https://github.com/codewithveek.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# termii-simple\nA Javascript SDK for [Termii](https://termii.com) SMS \u0026amp; OTP(Email,SMS,WhatsApp).\n\n\n\n## Installation\n\n`npm i termii-simple` or `yarn add termii-simple`;\n## Usage\n\u003e Each method supports both promises and callbacks.\n\nYou can find your Api Key on your  [Termii dashboard](https://accounts.termii.com/#/)\n```js\n\n// ES6 Module\nimport { TermiiClient } from 'termii-simple'\n\n// commonjs\nconst { TermiClient }=require('termii-simple');\n\nconst client=new TermiiClient({\n   apiKey:\" your termii Api key\"\n   \n});\n// for SMS\nconst smsClient=new client.TermiiSMS();\n\nconst result= await smsClient.send({\n   to:\"234701234567\",\n   from:\"Sender ID\",\n   sms:\"Hi, this is a test SMS\",\n   channel:\"generic\",\n   \n})\nconsole.log(result.data)\n// for OTP\nconst otpClient=new client.TermiiOTP();\n\notpClient.generate({\n   pin_type:\"NUMERIC\",\n   phone_number:\"2347012345678\"\n},(result,error)=\u003e{\n   console.log(result.data);\n})\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithveek%2Ftermii-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithveek%2Ftermii-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithveek%2Ftermii-js/lists"}