New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

idevicelist

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idevicelist

When we connect our apple devices via usb, we get the model number, not other basic details such as generation, storage, color etc. I made this small utility that will get you all required basic details for apple devices.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

IDeviceList

When we connect our apple devices via usb, we get the model number, not other basic details such as generation, storage, color etc. I made this small utility that will get you all required basic details for apple devices.

Install instruction

use npm or yarn

  npm add idevicelist --save

or

  yarn add idevicelist

Import lib

  import { getAllDevices, searchByModel, searchByType } from 'idevicelist';

Call the functions

  const device = searchByModel('MM9P3');

API Reference

Get all devices

  getAllDevices()

Get device by model

  searchByModel(MODEL)
ParameterTypeDescription
MODELstringRequired. Model of device to fetch

get devices by type

  searchByType(TYPE)
ParameterTypeDescription
TYPEstringRequired. Type of devices to fetch

Roadmap

  • Add Airtag support

  • Add Apple TV support

  • Add Homepod support

  • Add Mac support

  • Add other apple accessories support

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Keywords

iphone

FAQs

Package last updated on 25 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts