1.0.10 • Published 3 years ago

device-model-parser v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

device-model-parser

Converts the model of Android devices into the extended name.

The list is taken from https://storage.googleapis.com/play_public/supported_devices.html and converted to this interface

interface IDeviceModelInfo {
  retailBranding: string;
  marketingName: string;
  device: string;
  model: string;
}

Example:

import getDeviceList from "device-model-parser";

const deviceMap = getDeviceList();

console.log(deviceMap.get("SM-G980F")?.marketingName);

Output: \ image

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago