{"id":28147856,"url":"https://github.com/niroula-kushal/table-copy-vanilla","last_synced_at":"2025-05-15T00:22:46.804Z","repository":{"id":61211731,"uuid":"549321751","full_name":"niroula-kushal/table-copy-vanilla","owner":"niroula-kushal","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-19T11:25:28.000Z","size":131,"stargazers_count":3,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T11:32:45.094Z","etag":null,"topics":["hacktoberfest","html-table","javascript","typescript"],"latest_commit_sha":null,"homepage":"https://table-copy-vanilla.netlify.app/","language":"TypeScript","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/niroula-kushal.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}},"created_at":"2022-10-11T02:26:51.000Z","updated_at":"2024-04-13T04:54:09.000Z","dependencies_parsed_at":"2024-04-17T16:29:16.497Z","dependency_job_id":"1515016f-20d4-4d85-9b2a-3b43b1018304","html_url":"https://github.com/niroula-kushal/table-copy-vanilla","commit_stats":{"total_commits":6,"total_committers":3,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"2703e8ce6c16e0c9864afea66fb2d8f945ee1b31"},"previous_names":["rehmatfalcon/table-copy-vanilla"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niroula-kushal%2Ftable-copy-vanilla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niroula-kushal%2Ftable-copy-vanilla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niroula-kushal%2Ftable-copy-vanilla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niroula-kushal%2Ftable-copy-vanilla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niroula-kushal","download_url":"https://codeload.github.com/niroula-kushal/table-copy-vanilla/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249388,"owners_count":22039057,"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":["hacktoberfest","html-table","javascript","typescript"],"created_at":"2025-05-15T00:22:33.323Z","updated_at":"2025-05-15T00:22:46.787Z","avatar_url":"https://github.com/niroula-kushal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# table-copy-vanilla\n\nAllows users to select a portion of html tables and copy the content. The contents can be pasted in excel or excel compatible softwares.\n\n## Demo Link: https://table-copy-vanilla.netlify.app/\n\n## Demo\n\n\n\n\nhttps://github.com/RehmatFalcon/table-copy-vanilla/assets/28915667/ead0a931-e273-4989-ada7-c802cd1b5f5c\n\n\n## Installation\n\n\u003e npm\n```bash\nnpm i table-copy-vanilla\n```\n\n\u003e yarn\n```bash\nyarn add table-copy-vanilla\n```\n\n\u003e CDN\n\n### Dev Usage\n\n```ts\nimport {tableCopy} from 'table-copy-vanilla'\nimport 'table-copy-vanilla/dist/style.css' // For default styling\n\ntableCopy();\n\n```\n\n### User Usage\n1. Ctrl+Click on a table cell to begin\n2. Move with Arrow keys to select cells\n3. CTRL+C to copy data\n4. `Esc` to remove selection\n5. Mouse click without `CTRL` key inside the table also removes selection\n\n### Tips\n1. Press `CTRL` + `ArrowKeys` to select 100 row/columns at a time\n2. Press `Shift` + `ArrowKeys` to select 10 rows/columns at a time\n3. Press `CTRL` + `Shift` + `ArrowKeys` to select 1000 row/columns at a time\n\n### Focused Element Behavior\nIf a input element was focused before starting the table selection, the focus will be removed from the element. The focus is restored with the user cancels the selection. Either via `ESC` or by mouse press without `CTRL` pressed\n\n\n### Samples\n\n1. Svelte: https://github.com/RehmatFalcon/table-copy-samples/tree/master/svelte\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniroula-kushal%2Ftable-copy-vanilla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniroula-kushal%2Ftable-copy-vanilla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniroula-kushal%2Ftable-copy-vanilla/lists"}