Description: This project validates Myanmar mobile phone numbers and returns information about them.
Features:
- Validates Myanmar mobile phone numbers.
- Returns detailed information about the validated number, including:
- Operator code
- Operator name
Example Usage:
import Validator from "myanmar-mobile-validator";
const number1 = "+95 09 294 293 134";
const number2 = "၉၅ ၀၉ ၂၉၄ ၂၉၃ ၁၃၄"; // Myanmar Unicode
const info1 = Validator(number1);
const info2 = Validator(number2);
console.log(info1); // Object containing information about the number
console.log(info2); // Object containing information about the number (if valid)
if (!info1 || !info2) {
console.log("Invalid Myanmar mobile phone number");
}
095 09 123 123 123
+95 09 123 123 123
95-09-123-123-132
9509123123123
959123123123
09 123 123 123
09 123123123
09123123123
9 123123132
9123123123
123123123
https://www.ptd.gov.mm/LicenseslistDetail.aspx?id=P3KMgPdor32H5hDW/BFdTw==