mcc-mnc-list-js
Dictionary from mcc-mnc codes to network operators based on the following Wikipedia info: https://en.wikipedia.org/wiki/Mobile_country_code
Installation
npm install mcc-mnc-list-js
Record Structure
CELL_OPERATORS = ``: bands: String mcc: String operator: String mnc: String ... ...
Example Usage
The (mcc=311, mnc=488) pair currently belongs to Verizon Wireless.
The following code retrieves operator information on (mcc=311, mnc=488).
; const mcc = '311';const mnc = '488';const key = ``;if key in CELL_OPERATORS const operators = CELL_OPERATORSkey; console; console; console; console; console;
The console output is
# of operators: 1
bands: LTE 700
mcc: 311
mnc: 488
operator: Verizon Wireless