{"id":38543144,"url":"https://github.com/knowbee/rwa-validator","last_synced_at":"2026-01-17T07:13:10.192Z","repository":{"id":36469652,"uuid":"226639092","full_name":"knowbee/rwa-validator","owner":"knowbee","description":"A fast minimal package to validate Rwandan National Ids and phone numbers using Regular Expressions.","archived":false,"fork":false,"pushed_at":"2021-09-26T14:54:31.000Z","size":16,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T05:53:05.101Z","etag":null,"topics":["identity","phone-number","phone-numbers","rwanda"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/rwa-validator","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/knowbee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-08T08:50:13.000Z","updated_at":"2024-07-31T15:25:35.000Z","dependencies_parsed_at":"2022-08-25T10:30:37.297Z","dependency_job_id":null,"html_url":"https://github.com/knowbee/rwa-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/knowbee/rwa-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowbee","download_url":"https://codeload.github.com/knowbee/rwa-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28503216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"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":["identity","phone-number","phone-numbers","rwanda"],"created_at":"2026-01-17T07:13:10.126Z","updated_at":"2026-01-17T07:13:10.185Z","avatar_url":"https://github.com/knowbee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rwa-validator\n\n[![Build Status](https://travis-ci.org/knowbee/rwa-validator.svg?branch=master)](https://travis-ci.org/knowbee/rwa-validator)\n[![Maintainability](https://api.codeclimate.com/v1/badges/3f5c5282ff06934496dd/maintainability)](https://codeclimate.com/github/knowbee/rwa-validator/maintainability)\n[![npm](https://img.shields.io/npm/dt/rwa-validator.svg)](https://www.npmjs.com/package/rwa-validator)\n[![Dependency Status](https://david-dm.org/knowbee/rwa-validator.svg)](https://david-dm.org/knowbee/rwa-validator)\n[![npm](https://img.shields.io/npm/v/rwa-validator.svg)](https://www.npmjs.com/package/rwa-validator)\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\n[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\n\n[![NPM](https://nodei.co/npm/rwa-validator.png)](https://nodei.co/npm/rwa-validator/)\n\nA fast minimal package to validate Rwandan National Ids and Phone Numbers(all carriers) using Regular Expressions.\n\n## Installation\n\n```js\nnpm install rwa-validator\n```\n\nor\n\n```js\nyarn add rwa-validator\n```\n\nor\n\n## Usage\n\n- Validating Phone Number\n\n  ```js\n  const { isNationalId, isPhoneNumber } = require(\"rwa-validator\");\n\n  isPhoneNumber(\"0788854444\"); // true\n  isPhoneNumber(\"0778854444\"); // false\n  ```\n\n- Validating National ID\n  ```js\n  // must be 16 digit numbers\n  isNationalId(\"1199672222000040\"); // true\n  isNationalId(\"1201772222000040\"); // false\n  ```\n\n# Contribution\n\n- Please before making a PR, read first this [Contributing Guideline](./CONTRIBUTING.md)\n\n## License\n\nMIT\n\n## Author\n\nIgwaneza Bruce\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowbee%2Frwa-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowbee%2Frwa-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowbee%2Frwa-validator/lists"}