{"id":38011604,"url":"https://github.com/thebeet/idevicekit","last_synced_at":"2026-01-16T19:21:02.999Z","repository":{"id":57141950,"uuid":"75366655","full_name":"thebeet/idevicekit","owner":"thebeet","description":"NodeJs wrapper for libimobiledevice","archived":false,"fork":false,"pushed_at":"2021-06-11T10:48:58.000Z","size":50,"stargazers_count":29,"open_issues_count":2,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-30T14:54:04.781Z","etag":null,"topics":["ios","libimobiledevice","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thebeet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-02T06:16:00.000Z","updated_at":"2024-06-27T09:34:13.000Z","dependencies_parsed_at":"2022-09-05T07:50:33.311Z","dependency_job_id":null,"html_url":"https://github.com/thebeet/idevicekit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thebeet/idevicekit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebeet%2Fidevicekit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebeet%2Fidevicekit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebeet%2Fidevicekit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebeet%2Fidevicekit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thebeet","download_url":"https://codeload.github.com/thebeet/idevicekit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebeet%2Fidevicekit/sbom","scorecard":{"id":877965,"data":{"date":"2025-08-11","repo":{"name":"github.com/thebeet/idevicekit","commit":"8bfcdadfc52b4ead34a97bdd1bd41d4b1960a816"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 4/22 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T06:48:14.117Z","repository_id":57141950,"created_at":"2025-08-24T06:48:14.118Z","updated_at":"2025-08-24T06:48:14.118Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","libimobiledevice","nodejs"],"created_at":"2026-01-16T19:21:02.143Z","updated_at":"2026-01-16T19:21:02.988Z","avatar_url":"https://github.com/thebeet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"NodeJs wrapper for libimobiledevice\n\n## Requirements\n* [Node.js][nodejs] \u003e= 6.0\n* libimobiledevice \u0026 ideviceinstaller\n\n```bash\nbrew install libimobiledevice\nbrew install ideviceinstaller\n```\n## Getting started\n\nInstall via NPM:\n\n```bash\nnpm install --save idevicekit\n```\n\n## API\n\n### idevicekit.listDevices()\n\nGets the list of currently connected devices.\n\n* Returns: `Promise`\n* Resolves with: `devices` An array of device's serial\n\n### idevicekit.getProperties(serial, [option])\n\nRetrieves the properties of the device identified by the given serial number. This is analogous to `ideviceinfo`.\n\n* **serial** The serial number of the device. Corresponds to the device ID in `idevicekit.listDevices()`.\n* **option** Optional. The following options are supported, use `ideviceinfo --help` to learn more\n    - **simple** When `true`, use a simple connection to avoid auto-pairing with the device, Default: false\n    - **domain** set domain of query to NAME. Default: None \n* Returns: `Promise`\n* Resolves with: `properties` An JSON Object of device's properties.  \n\n### idevicekit.getPackages(serial, [option])\n\nRetrieves the list of packages present on the device. This is analogous to `ideviceinstaller`.\n\n* **serial** The serial number of the device. Corresponds to the device ID in `idevicekit.listDevices()`.\n* **option** Optional. The following options are supported, use `ideviceinstaller --help` to learn more\n    - **list** List apps, possible options:\n       - **user**: list user apps only (this is the default)\n       - **system**: list system apps only\n       - **all**: list all types of apps\n    \n* Returns: `Promise`\n* Resolves with: `packages` An array of app package\n\n### idevicekit.screencap(serial)\n\nTakes a screenshot in PNG format using `idevicescreenshot`. \n\n* Returns: `Promise`\n* Resolves with: `screencap` An PNG stream.\n\n### idevicekit.install(serial, ipa)\n\nInstalls the IPA on the device, This is analogous to `ideviceinstaller -i \u003cipa\u003e`\n\n* Returns: `Promise`\n* Resolves with: `output` output of install command\n\n### idevicekit.syslog(serial)\n\nRetrieves syslog on the device, This is analogous to `idevicesyslog`\n\n* **serial** The serial number of the device. Corresponds to the device ID in `idevicekit.listDevices()`.\n* Returns: `Promise`\n* Resolves with: `emitter` emit \"log\" event when log come\n\nidevicesyslog will continue running until a 'close' event emit to emitter\n\n### idevicekit.reboot(serial)\n\nreboot using `idevicediagnostics restart`. \n\n* Returns: `Promise`\n* Resolves with: `success` True if success\n\n### idevicekit.shutdown(serial)\n\nreboot using `idevicediagnostics shutdown`. \n\n* Returns: `Promise`\n* Resolves with: `success` True if success\n\n## shortcut API\n\n### idevicekit.getBasicInformation(serial, [option])\n\nBasic device information from Apple, such as CPU, RAM, Official Name\n\n### getResolution(serial)\n### getStorage(serial)\n### getBattery(serial)\n\n## Example\n\n```js\nlet co = require('co');\nlet idevicekit = require('./index');\nlet fs = require('fs');\n\nco(function* () {\n    let devices = yield idevicekit.listDevices();\n    for (let device of devices) {\n        let properties = yield idevicekit.getProperties(device);\n        let battery = (yield idevicekit.getBattery(device)).level;\n        let resolution = yield idevicekit.getResolution(device);\n        let status = yield idevicekit.getDeveloperStatus(device);\n        console.log(`${device}: ${properties['DeviceName']}`);\n        console.log(`    model: ${properties['ProductType']}`);\n        console.log(`    battery: ${battery}`);\n        console.log(`    resolution: ${resolution['width']}x${resolution['height']}`);\n        console.log(`    status: ${status}`);\n        let screenshotStream = yield idevicekit.screencap(device);\n        screenshotStream.pipe(fs.createWriteStream(device + '.png'));\n        idevicekit.syslog(device).then((emitter) =\u003e {\n            emitter.on('log', (data) =\u003e {\n                console.log(JSON.stringify(data));\n            });\n            setTimeout(() =\u003e {\n                emitter.emit('close');\n            }, 10000);\n        });\n    }\n}).catch((err) =\u003e {\n    console.log(err);\n});\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebeet%2Fidevicekit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebeet%2Fidevicekit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebeet%2Fidevicekit/lists"}