ezratechdev / Carrier

This respo contains the code of a package that provides the Kenyan carrier details of a passed Kenyan Phone number.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Carrier Information

This is a basic package to get the carrier package of a Kenyan Phone Number.

Installation

npm install carrierdetails
yarn add carrierdetails

Usage

import Carrier from "carrierdetails";
console.log(Carrier("0722222222"));

Output

{ operator: 'Safaricom', prefix: '722', number: '254722222222' }

About

This respo contains the code of a package that provides the Kenyan carrier details of a passed Kenyan Phone number.


Languages

Language:JavaScript 100.0%