1.0.0 • Published 6 years ago

providers-kenya v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Description

This package will return the provider belonging to a Kenyan phone number. The possible return values are:

  • safaricom
  • airtel
  • telkom
  • faiba
  • equitel
  • unknown

Usage

This package only works when passing in E.164 formatted phone numbers.

const providers = require("providers-kenya")
const provider = providers.identify("+254701234567")
// safaricom