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' }