{"id":15689342,"url":"https://github.com/littledivy/pasteboard","last_synced_at":"2025-05-07T21:40:59.480Z","repository":{"id":221104570,"uuid":"716902696","full_name":"littledivy/pasteboard","owner":"littledivy","description":"macOS NSPasteboard API bindings for Deno JIT FFI.","archived":false,"fork":false,"pushed_at":"2024-02-06T06:51:07.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T14:21:22.818Z","etag":null,"topics":["clipboard","deno","ffi","obj-c","pasteboard"],"latest_commit_sha":null,"homepage":"https://deno.land/x/pasteboard","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/littledivy.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-10T05:39:40.000Z","updated_at":"2024-02-26T15:31:00.000Z","dependencies_parsed_at":"2024-02-06T07:52:22.884Z","dependency_job_id":null,"html_url":"https://github.com/littledivy/pasteboard","commit_stats":null,"previous_names":["littledivy/pasteboard"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littledivy%2Fpasteboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littledivy%2Fpasteboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littledivy%2Fpasteboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littledivy%2Fpasteboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/littledivy","download_url":"https://codeload.github.com/littledivy/pasteboard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252961256,"owners_count":21832182,"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":["clipboard","deno","ffi","obj-c","pasteboard"],"created_at":"2024-10-03T18:01:45.162Z","updated_at":"2025-05-07T21:40:59.444Z","avatar_url":"https://github.com/littledivy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pasteboard\n\nmacOS NSPasteboard API bindings for Deno JIT FFI.\n\n### Usage\n\n```typescript\nimport { OSXPasteboard } from \"jsr:@divy/pasteboard\";\n\nconst board = new OSXPasteboard();\n\nboard.clearContents(); // Clears the pasteboard contents.\n\nboard.writeText(\"Hello World!\"); // Write UTF-8 encoded text to the pasteboard.\n\nconst text = board.readText();\n```\n\n```\ndeno run --allow-ffi --unstable-ffi example.ts\n```\n\n### Design\n\nDepends on the `AppKit.framework` and Objective-C runtime.\n\nLoads `/usr/lib/libobjc.A.dylib` and\n`/System/Library/Frameworks/AppKit.framework/AppKit` at startup.\n\n### License\n\nSee [LICENSE](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittledivy%2Fpasteboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flittledivy%2Fpasteboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittledivy%2Fpasteboard/lists"}