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

0.1.1 • Public • Published

mobile-operator

types

enum OperatorType {
  ALL = 0,
  CMCC = 1,
  CUCC = 2,
  CTCC = 3,
  UNKNOWN = -1
}

interface Operator {
  name: string
  type: OperatorType
}

// example
const CMCC: Operator = {
  name: '中国移动',
  type: OperatorType.CMCC
}

Readme

Keywords

none

Package Sidebar

Install

npm i mobile-operator

Weekly Downloads

1

Version

0.1.1

License

ISC

Last publish

Collaborators

  • lckof