{"id":19648030,"url":"https://github.com/0x-jerry/clipboard-rs","last_synced_at":"2025-04-28T15:32:19.636Z","repository":{"id":233837623,"uuid":"787890826","full_name":"0x-jerry/clipboard-rs","owner":"0x-jerry","description":"Node binding for rust clipboard-rs lib, powered by napi-rs.","archived":false,"fork":false,"pushed_at":"2025-03-25T05:02:59.000Z","size":121,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T14:03:27.534Z","etag":null,"topics":["clipboard","napi-rs","node","rust"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x-jerry.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-17T11:32:08.000Z","updated_at":"2024-09-18T08:25:06.000Z","dependencies_parsed_at":"2025-01-28T06:01:11.527Z","dependency_job_id":"9590a16e-52ff-43f3-b9d1-2c3e6ea2369c","html_url":"https://github.com/0x-jerry/clipboard-rs","commit_stats":{"total_commits":53,"total_committers":2,"mean_commits":26.5,"dds":0.2075471698113207,"last_synced_commit":"415a9b1f872b391ef765b181f062bf7e6a88c5e0"},"previous_names":["0x-jerry/clipboard-rs"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fclipboard-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fclipboard-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fclipboard-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fclipboard-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x-jerry","download_url":"https://codeload.github.com/0x-jerry/clipboard-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251338803,"owners_count":21573613,"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","napi-rs","node","rust"],"created_at":"2024-11-11T14:46:55.972Z","updated_at":"2025-04-28T15:32:16.021Z","avatar_url":"https://github.com/0x-jerry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clipboard-RS\n\n\u003e Node binding for rust [clipboard-rs] lib, powered by [napi-rs].\n\nSupport read/write text/image/filePath to clipboard, cross-platform.\n\n## Usage\n\n```sh\nnpm i clipboard-rs\n# or\nyarn i clipboard-rs\n# or\npnpm i clipboard-rs\n```\n\n## Usage\n\n```ts\nimport {\n  readText,\n  readFiles,\n  readImage,\n  writeText,\n  writeImage,\n  writeFiles\n} from 'clipboard-rs'\n\nconst text = readText() // =\u003e string | null\nconst imageBuffer = readImage() // =\u003e Buffer | null\nconst files = readFiles() // =\u003e string[] | null\n\n// return true means write to clipboard successfully\nwriteText('text content') // =\u003e true | null\nwriteImage(buf) // =\u003e true | null\nwriteFiles([path]) // =\u003e true | null\n```\n\n## Supported platforms\n\nPlease check [clipboard-rs].\n\n[clipboard-rs]: https://github.com/ChurchTao/clipboard-rs\n[napi-rs]: https://github.com/napi-rs/napi-rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x-jerry%2Fclipboard-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x-jerry%2Fclipboard-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x-jerry%2Fclipboard-rs/lists"}