Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naverpaydev/device-info

A library for converting device IDs to user-friendly model names.
https://github.com/naverpaydev/device-info

Last synced: about 8 hours ago
JSON representation

A library for converting device IDs to user-friendly model names.

Awesome Lists containing this project

README

        

# @naverpay/device-info

A library for converting device IDs to user-friendly model names.

- For iOS, it maps `Identifier` to `Generation`.
- For Android, it maps `Model` to Marketing `Name`.

These data are collected based on the following documents and updated every Monday:

-
-

## Installation

```bash
npm install --save @naverpay/device-info
```

## Usage

```javascript
import { ios, aos } from "@naverpay/device-info";

console.log(ios["iPhone15,4"]); // "iPhone 15"
console.log(aos["SM-S901B"]); // "Galaxy S22"
```