1.1.0 • Published 8 months ago

idevicelist v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

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.

1.1.0

8 months ago

1.0.1

9 months ago

1.0.0

9 months ago