Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/naverpaydev/device-info
- Owner: NaverPayDev
- License: mit
- Created: 2024-03-11T07:29:48.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T01:29:00.000Z (29 days ago)
- Last Synced: 2024-10-23T23:26:39.976Z (26 days ago)
- Language: JavaScript
- Homepage: https://github.com/NaverPayDev/device-info
- Size: 760 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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"
```