1.0.10 • Published 1 year ago

device-model-parser v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago