{"_id":"@badvolt/ios-device-list","_rev":"4-9528deb8613fad874a429f5dcbeb0682","name":"@badvolt/ios-device-list","dist-tags":{"latest":"1.3.0"},"versions":{"1.2.0":{"name":"@badvolt/ios-device-list","version":"1.2.0","keywords":["ios","iphone","ipad","ipod","watch","device","devices","model","fccid","list"],"author":{"name":"Peter Bakondy","email":"pbakondy@gmail.com"},"license":"MIT","_id":"@badvolt/ios-device-list@1.2.0","maintainers":[{"name":"badvolt","email":"ivan_90.90@mail.ru"}],"homepage":"https://github.com/IvanMMM/ios-device-list#readme","bugs":{"url":"https://github.com/IvanMMM/ios-device-list/issues"},"dist":{"shasum":"25734c0289e9c642c49dfce51fc79ffe9e2825e1","tarball":"https://registry.npmjs.org/@badvolt/ios-device-list/-/ios-device-list-1.2.0.tgz","fileCount":24,"integrity":"sha512-ZZEmW/jqoplar/dxWkpyauFAmEbQ3WWOLx+Ir0nFAjoZ2pURtLwSd2qnFwwj804iS8ULGmQdqKNaL8FFFU9OxQ==","signatures":[{"sig":"MEQCIDctg9x5jzrm6iahylnPrywqwG3PA5VfsfiwTvwLI6D+AiB3+niy3hNAk+ZUl+AKyTHuX+HRnCGoMTaGNozudUuX/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":667870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh95SUCRA9TVsSAnZWagAAO1kP/jRpLjIMBqWXiDW+ne9x\nYhv1xqt8ubkiFauME2LF2DyXs2jrI5BcWAs8+dXwrARIRtepcgQg+zhpVKHd\nDYEDFXFEi0KsI84Lpps8HHwJBZiIzlkNVRv7YbBf+guJAsUBg0vTTNBrSlMD\n8Rw1IJIWe+CgUoUepWGh7Z39HZTFpfsmJhLta33y4dF8YCRgsMmx5XRFLX53\ntWj9/IIQeGm4gOsrFBiD+NxK1CRFBxyu5zT1OApZqDeivOTmjRyfRb4HDCKV\nytCcWr1c71XpeTMWO4oKq8M1PItR/fdlnILsPxfH1qPp1lkvKmqYnnJNimhp\nymGeGQqE08v4y7aaovl6Uv+AD/XHfPlhdhUfyuGY+X4ldq0IOwvv0j+nUYgj\nG5NmT38ilvACvJsMoEjFxRJF0QULdjzlCDWRrdkkAs0Sw6BoIUBOLNyxpI9z\niojmfech5BcLwTdChWREu489X2z588zWnCs9FnxJc17EcE8FGFsKL0NR7p6z\n2CCFddaxqu1zMlQweZZtkVsZ6BNnBfVae0LDgmmFFHJBsikyvFktTSOVptDF\nhe/DngKh0/+UP/7L6YB5NGOeKx0AOtz76SGazzHCt4dh5AEw0JwTD/WH4LjO\nZFFxBKoqNNdAYUemcEu7acXOiKm5P6yYGTyIJluoxZb90PHAJi7LWIJZxW6u\ntN5+\r\n=dcsR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","browser":"dist/ios-device-list.min.js","engines":{"node":">=4"},"gitHead":"2163b8bb0e938614dc789e814cc8c27971ae4936","scripts":{"dist":"npm run devices && npm run webpack-dev && npm run webpack-prod","lint":"eslint index.js build-devices.js saved/save.js","save":"node saved/save.js","test":"ava && npm run lint","devices":"node build-devices.js","webpack-dev":"webpack","webpack-prod":"webpack --config webpack.prod.config.js"},"_npmUser":{"name":"badvolt","email":"ivan_90.90@mail.ru"},"repository":{"url":"git+https://github.com/IvanMMM/ios-device-list.git","type":"git"},"_npmVersion":"8.1.2","description":"Searchable collection of Apple devices","directories":{},"_nodeVersion":"16.13.1","dependencies":{"lodash.uniq":"^4.5.0","lodash.flatten":"^4.4.0","lodash.clonedeep":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","jsdom":"^16.4.0","eslint":"^7.20.0","webpack":"^5.23.0","uglify-js":"^3.12.8","@babel/core":"^7.12.17","webpack-cli":"^4.5.0","babel-loader":"^8.2.2","@babel/preset-env":"^7.12.17"},"_npmOperationalInternal":{"tmp":"tmp/ios-device-list_1.2.0_1643615380217_0.22061446061079648","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.3.0":{"name":"@badvolt/ios-device-list","version":"1.3.0","keywords":["ios","iphone","ipad","ipod","watch","device","devices","model","fccid","list"],"author":{"name":"Peter Bakondy","email":"pbakondy@gmail.com"},"license":"MIT","_id":"@badvolt/ios-device-list@1.3.0","maintainers":[{"name":"badvolt","email":"ivan_90.90@mail.ru"}],"homepage":"https://github.com/IvanMMM/ios-device-list#readme","bugs":{"url":"https://github.com/IvanMMM/ios-device-list/issues"},"dist":{"shasum":"1c40b43e1eb199942c247e022dbd9aa9cbbc9903","tarball":"https://registry.npmjs.org/@badvolt/ios-device-list/-/ios-device-list-1.3.0.tgz","fileCount":24,"integrity":"sha512-85t2Map0fsFwRO/+91GVR4fHxxRQLx2x8blFjrqn0aGUZypbKG/Ru2GH1ZR/wMg9NhHm1T/SvZNlVvH++Xemtw==","signatures":[{"sig":"MEUCIQC9Htn9x+JEJxxSlwXrFsw0SGaIg/iA1+347zGKNPPFXQIgPCyK2m4bfnwmIzfKicvfjO8xTjMZ46bmEqk9HJKyG1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":752769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjffx5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbYg/6Ateoba1Ox6zL8T5pNvoK3SeWYb3QxjbzZR0+58dgjXltAmOf\r\nD65SiN04S7m5QRSXocq6HvDXcA82lDiGaMtaCBFgDj/yTet+kUwNn0tJpCUa\r\nA94ezj+oCVH3aaQWDtkzhlCmaeMO/JTXvOvIWsFlrAGajtPcYme3oDpBn6Ly\r\ny56UOeOLGQgW+G0wflwpwh2oo+95ObOxf6ALUw3jVSsfp1E0c5wNrIvZU9S7\r\nGm4n+RZYxeYUCO0a79hXw7vmqX9RZqtRAUl2x3JHuTApA0hFDIrtjqIKyBRN\r\n5YWQ2toCsr93qrK47RPZc2Nihj4EuhHSSFOQbk55FLVcAR2x8PCMr3SjP0eY\r\nAwVzOJraEmwyXt/zGEf+Lz3HMwcOBd9s79O1VgqEFU1dwHtRRvBcoqehgFZv\r\nMI5ObL1Og4xuhq9sQqdjMrY9QekyXYZskzgujQQrKSqOx4uM7KK2b8/7vP7P\r\nPwmfjvi953K3UM4XJyhWGxFtWjOP4dUeuJtnHOfMin2TQvSVPkdM43C5aY9i\r\nuu0EOPDhJX6hHIzHh8CuUTmOVA9uhCRnxIz5eWTIejGzOt1oggcx8a+wExPH\r\nNYfu9sx4bjD3NeWuXz67lPabo8fJb43xnzZumTeoMq6QxeU3zR9khQu8GKwt\r\nlpsRUQetaQRA1dqeLTnzre8rUeC7US0jDVA=\r\n=L1Cf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","browser":"dist/ios-device-list.min.js","engines":{"node":">=4"},"gitHead":"241702d7cf5711d0fd4977ab8615383de8e9df23","scripts":{"dist":"npm run devices && npm run webpack-dev && npm run webpack-prod","lint":"eslint index.js build-devices.js saved/save.js","save":"node saved/save.js","test":"ava && npm run lint","devices":"node build-devices.js","webpack-dev":"webpack","webpack-prod":"webpack --config webpack.prod.config.js"},"_npmUser":{"name":"badvolt","email":"ivan_90.90@mail.ru"},"repository":{"url":"git+https://github.com/IvanMMM/ios-device-list.git","type":"git"},"_npmVersion":"6.14.16","description":"Searchable collection of Apple devices","directories":{},"_nodeVersion":"12.22.12","dependencies":{"lodash.uniq":"^4.5.0","lodash.flatten":"^4.4.0","lodash.clonedeep":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","jsdom":"^16.4.0","eslint":"^7.20.0","webpack":"^5.23.0","uglify-js":"^3.12.8","@babel/core":"^7.12.17","webpack-cli":"^4.5.0","babel-loader":"^8.2.2","@babel/preset-env":"^7.12.17"},"_npmOperationalInternal":{"tmp":"tmp/ios-device-list_1.3.0_1669201016809_0.566720262234264","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2022-01-31T07:49:40.159Z","modified":"2026-05-19T08:45:52.843Z","1.2.0":"2022-01-31T07:49:40.451Z","1.3.0":"2022-11-23T10:56:56.980Z"},"bugs":{"url":"https://github.com/IvanMMM/ios-device-list/issues"},"author":{"name":"Peter Bakondy","email":"pbakondy@gmail.com"},"license":"MIT","homepage":"https://github.com/IvanMMM/ios-device-list#readme","keywords":["ios","iphone","ipad","ipod","watch","device","devices","model","fccid","list"],"repository":{"url":"git+https://github.com/IvanMMM/ios-device-list.git","type":"git"},"description":"Searchable collection of Apple devices","maintainers":[{"name":"badvolt","email":"ivan_90.90@mail.ru"}],"readme":"# iOS device list\n\n[![npm](https://img.shields.io/npm/v/ios-device-list.svg)](https://www.npmjs.com/package/ios-device-list)\n\nSearchable collection of Apple devices.\n\nParameters per device:\nGeneration, Model number (\"A\" Number), Bootrom, Variant, FCC ID, Internal Name, Identifier, Case Material, Color, Storage, Model\n\nSources:\n- https://en.wikipedia.org/wiki/List_of_iOS_devices\n- https://www.theiphonewiki.com/wiki/Models\n- https://developer.apple.com/reference/uikit/uidevice\n- https://support.apple.com/en-ph/HT201296\n\n## Install\n\n```\n$ npm install ios-device-list\n```\n\n## Usage\n\nIn node:\n\n```js\nvar iosDevices = require('ios-device-list');\n```\n\nIn browser:\n\n```html\n<script src=\"node_modules/ios-device-list/dist/ios-device-list.min.js\"></script>\n<script>\n  window.iosDeviceList // Object\n</script>\n```\n\n### `.deviceTypes()` : Array\n\nReturns the device type list: airpods, apple_tv, apple_watch, homepod, ipad, ipad_air, ipad_pro, ipad_mini, iphone, ipod_touch\n\n### `.devices([type])` : Array\n\nReturns the full device list.\n\nWith optional type parameter returns the device list of the actual type.\n\n### `.generations([type])` : Array\n\nReturns the full Generation list.\n\nWith optional type parameter returns the generation list of the actual type.\n\n### `.anumbers([type])` : Array\n\nReturns the full \"A\" Number list.\n\nWith optional type parameter returns the \"A\" Number list of the actual type.\n\n### `.fccids([type])` : Array\n\nReturns the full FCC ID list.\n\nWith optional type parameter returns the FCC ID list of the actual type.\n\n### `.internalNames([type])` : Array\n\nReturns the full Internal Name list.\n\nWith optional type parameter returns the Internal Name list of the actual type.\n\n### `.identifiers([type])` : Array\n\nReturns the full Identifier list.\n\nWith optional type parameter returns the Identifier list of the actual type.\n\n### `.colors([type])` : Array\n\nReturns the full Color list.\n\nWith optional type parameter returns the Color list of the actual type.\n\n### `.storages([type])` : Array\n\nReturns the full Storage list.\n\nWith optional type parameter returns the Storage list of the actual type.\n\n### `.models([type])` : Array\n\nReturns the full Model list.\n\nWith optional type parameter returns the Model list of the actual type.\n\n### `.deviceByGeneration(generation, [type], [options])` : Array\n\nReturns a device list with matching Generation.\n\nWith optional type parameter the result is filtered by the device type.\n\n`options` is an `Object`.\n- `caseInsensitive`: boolean *(default false)* - do not care of case type\n- `contains`: boolean *(default false)* - return partial (substring) results too\n\n\n### `.deviceByANumber(anumber, [type], [options])` : Array\n\nReturns a device list with matching \"A\" Number.\n\nWith optional type parameter the result is filtered by the device type.\n\n\n### `.deviceByFCCID(fccid, [type], [options])` : Array\n\nReturns a device list with matching FCC ID.\n\nWith optional type parameter the result is filtered by the device type.\n\n\n### `.deviceByInternalName(name, [type], [options])` : Array\n\nReturns a device list with matching Internal Name.\n\nWith optional type parameter the result is filtered by the device type.\n\n\n### `.deviceByIdentifier(id, [type], [options])` : Array\n\nReturns a device list with matching Identifier.\n\nWith optional type parameter the result is filtered by the device type.\n\n\n### `.deviceByColor(color, [type], [options])` : Array\n\nReturns a device list with matching Color.\n\nWith optional type parameter the result is filtered by the device type.\n\n\n### `.deviceByStorage(storage, [type], [options])` : Array\n\nReturns a device list with matching Storage.\n\nWith optional type parameter the result is filtered by the device type.\n\n\n### `.deviceByModel(model, [type], [options])` : Array\n\nReturns a device list with matching Model.\n\nWith optional type parameter the result is filtered by the device type.\n\n\n### `.generationByIdentifier(id, [type])` : String\n\nReturns the generation name with matching Identifier.\n\nWith optional type parameter the result is filtered by the device type.\n\n\n## Example\n\n```js\nvar iosDevices = require('ios-device-list');\n\nvar deviceTypes = iosDevices.deviceTypes();\nvar devices = iosDevices.devices();\n\nconsole.log(deviceTypes.length);\n// 6\n\nconsole.log(devices.length);\n// 727\n\nconsole.log(devices[500]);\n// { Type: 'iphone',\n//   Generation: 'iPhone 5c',\n//   ANumber: [ 'A1456', 'A1532' ],\n//   Bootrom: [ 'Bootrom 1145.3' ],\n//   Variant: 'iPhone5,3',\n//   FCCID: [ 'BCG‑E2644A' ],\n//   InternalName: 'N48AP',\n//   Identifier: 'iPhone5,3',\n//   Color: 'Yellow',\n//   Storage: '32 GB',\n//   Model: 'MF135' }\n\nvar iphone82;\n\niphone82 = iosDevices.deviceByIdentifier('iPhone8,2');\nconsole.log(iphone82.length);\n// 24\n\niphone82 = iosDevices.deviceByIdentifier('iphone8,2', null, { caseInsensitive: true });\nconsole.log(iphone82.length);\n// 24\n\niphone82 = iosDevices.deviceByIdentifier('iPhone8', null, { contains: true });\nconsole.log(iphone82.length);\n// 56\n\nvar gen = iosDevices.generationByIdentifier('iPhone8,2');\nconsole.log(gen);\n// 'iPhone 6s Plus'\n\n```\n\n\n## License\n\n**ios-device-list** is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.\n","readmeFilename":"README.md"}