{"id":19652171,"url":"https://github.com/x13a/libproc-swift","last_synced_at":"2025-04-28T17:30:31.052Z","repository":{"id":41326339,"uuid":"384015829","full_name":"x13a/libproc-swift","owner":"x13a","description":"Swift wrapper for proc library","archived":false,"fork":false,"pushed_at":"2024-05-10T16:04:31.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-11T16:57:28.082Z","etag":null,"topics":["macos","osx","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/x13a.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":"2021-07-08T05:52:50.000Z","updated_at":"2024-05-10T16:04:34.000Z","dependencies_parsed_at":"2022-09-17T06:31:21.106Z","dependency_job_id":null,"html_url":"https://github.com/x13a/libproc-swift","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x13a%2Flibproc-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x13a%2Flibproc-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x13a%2Flibproc-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x13a%2Flibproc-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x13a","download_url":"https://codeload.github.com/x13a/libproc-swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224124875,"owners_count":17259746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["macos","osx","swift"],"created_at":"2024-11-11T15:09:33.659Z","updated_at":"2024-11-11T15:09:34.348Z","avatar_url":"https://github.com/x13a.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libproc-swift\n\nSwift wrapper for `proc` library.\n\n## Example\n\n```swift\nimport Darwin\nimport Proc\n\nfunc main() throws {\n\n    // To get pid path:\n    let path = try Proc.pidPath(getpid()).get()\n    print(path)\n    \n    // To list all pids:\n    let pids = try Proc.listAllPids().get()\n    print(pids)\n    \n    // To get `proc_bsdinfo`:\n    let info = try Proc.pidInfo(proc_bsdinfo.self, getpid(), 0).get()\n    print(info)\n}\n\nmain()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx13a%2Flibproc-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx13a%2Flibproc-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx13a%2Flibproc-swift/lists"}