{"id":21713889,"url":"https://github.com/cytle/cliptable","last_synced_at":"2025-03-20T18:57:50.416Z","repository":{"id":57200457,"uuid":"58608208","full_name":"cytle/cliptable","owner":"cytle","description":"Excel之类有格式的数据copy到table中","archived":false,"fork":false,"pushed_at":"2017-06-23T18:12:11.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T18:05:33.472Z","etag":null,"topics":[],"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/cytle.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}},"created_at":"2016-05-12T04:42:46.000Z","updated_at":"2017-07-26T07:29:10.000Z","dependencies_parsed_at":"2022-09-16T15:02:39.638Z","dependency_job_id":null,"html_url":"https://github.com/cytle/cliptable","commit_stats":null,"previous_names":["cytle/jquery.cliptable"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytle%2Fcliptable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytle%2Fcliptable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytle%2Fcliptable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytle%2Fcliptable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cytle","download_url":"https://codeload.github.com/cytle/cliptable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244676317,"owners_count":20491827,"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":[],"created_at":"2024-11-26T00:28:27.016Z","updated_at":"2025-03-20T18:57:50.383Z","avatar_url":"https://github.com/cytle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cliptable\n\n经常有需要将数据从Excel之类有格式的地方copy到页面中,而页面的表格中总为单个的输入框,无法批量导入,除非上传文件到服务器.此项目方案为直接从粘贴板中读取,并且依次粘贴到输入框中.\n\n## 使用\n```javascript\nvar table = document.querySelector('table');\n\ncliptable(table[, options]);\n```\n\n### OPTIONS\n\n|属性|备注|\n|---|---|\n|inputSelector|input筛选,string(在设置数据时使用,默认为：'input')|\n|trSelector|tr筛选,string|\n|tdSelector|td筛选,string|\n|trOverflowCallback |行溢出回调函数，数据数大于行数情况下执行|\n|tdOverflowCallback |列溢出回调函数，数据数大于列数情况下执行|\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcytle%2Fcliptable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcytle%2Fcliptable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcytle%2Fcliptable/lists"}