carrierdetails
v1.0.2
Published
This package provides the Kenyan carrier details of a passed Kenyan Phone Number
Downloads
1
Maintainers
Readme
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' }