{"id":16007705,"url":"https://github.com/dukecat0/keypress","last_synced_at":"2025-08-08T06:32:22.306Z","repository":{"id":45960593,"uuid":"431418315","full_name":"dukecat0/keypress","owner":"dukecat0","description":"Simulates key press in Swift on macOS.","archived":false,"fork":false,"pushed_at":"2022-05-27T10:12:21.000Z","size":19,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"Main","last_synced_at":"2024-12-01T15:44:40.748Z","etag":null,"topics":["keyboard","keypress","macos","swift","swift-library"],"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/dukecat0.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-11-24T09:17:34.000Z","updated_at":"2024-11-21T15:42:50.000Z","dependencies_parsed_at":"2022-08-28T15:20:33.236Z","dependency_job_id":null,"html_url":"https://github.com/dukecat0/keypress","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/dukecat0%2Fkeypress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dukecat0%2Fkeypress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dukecat0%2Fkeypress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dukecat0%2Fkeypress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dukecat0","download_url":"https://codeload.github.com/dukecat0/keypress/tar.gz/refs/heads/Main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229097388,"owners_count":18019735,"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":["keyboard","keypress","macos","swift","swift-library"],"created_at":"2024-10-08T12:20:27.946Z","updated_at":"2024-12-10T16:59:36.070Z","avatar_url":"https://github.com/dukecat0.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keypress\n\nSimulates key press in Swift on macOS.\n\n## Usage\n\nPressing key \u003ckbd\u003eA\u003c/kbd\u003e:\n```swift\nimport keypress\n\nkeypress.press(\"A\")\n```\n\nSimulating the typing of the following text:\n```swift\nkeypress.write(\"Hello World\")\n```\n\nPressing hotkey \u003ckbd\u003eCommand\u003c/kbd\u003e+\u003ckbd\u003eA\u003c/kbd\u003e:\n```swift\nkeypress.hotkey(\"Command\", \"A\")\n```\n\n## Add to your project\n\nAdd the following line to the `dependencies` in `Package.swift`:\n\n```swift\n.package(url: \"https://github.com/meowmeowmeowcat/keypress\", from: \"0.0.4\"),\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdukecat0%2Fkeypress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdukecat0%2Fkeypress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdukecat0%2Fkeypress/lists"}