carrierdetails
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

/carrierdetails/

    Package Sidebar

    Install

    npm i carrierdetails

    Weekly Downloads

    4

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    10.2 kB

    Total Files

    4

    Last publish

    Collaborators

    • ezrathedeveloper