{"id":23634799,"url":"https://github.com/farseerdev/sheet-happens","last_synced_at":"2025-04-05T12:02:04.361Z","repository":{"id":49151215,"uuid":"340062719","full_name":"farseerdev/sheet-happens","owner":"farseerdev","description":"Beautiful and fast spreadsheet component for React","archived":false,"fork":false,"pushed_at":"2025-03-05T10:39:27.000Z","size":6587,"stargazers_count":68,"open_issues_count":6,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-29T11:04:06.131Z","etag":null,"topics":["javascript","react","spreadsheet","typescript"],"latest_commit_sha":null,"homepage":"https://farseerdev.github.io/sheet-happens/","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/farseerdev.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":"2021-02-18T13:43:25.000Z","updated_at":"2025-03-05T10:39:31.000Z","dependencies_parsed_at":"2023-12-15T13:27:07.512Z","dependency_job_id":"626474a4-d158-4b40-9400-b52c0f182377","html_url":"https://github.com/farseerdev/sheet-happens","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farseerdev%2Fsheet-happens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farseerdev%2Fsheet-happens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farseerdev%2Fsheet-happens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farseerdev%2Fsheet-happens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farseerdev","download_url":"https://codeload.github.com/farseerdev/sheet-happens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332556,"owners_count":20921853,"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":["javascript","react","spreadsheet","typescript"],"created_at":"2024-12-28T05:19:50.316Z","updated_at":"2025-04-05T12:02:04.336Z","avatar_url":"https://github.com/farseerdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sheet-happens\n\n\u003e React Spreadsheet\n\n[![NPM](https://img.shields.io/npm/v/sheet-happens.svg)](https://www.npmjs.com/package/sheet-happens) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n![Sheeeeeit](https://media.giphy.com/media/in6mnJNYjGKpq/source.gif)\n\n## About\nCanvas-based spreadsheet component for React. \u003cbr /\u003e\nSuper fast and responsive regardless of the dataset size because it draws only the data user currently sees.\n\n![sheet-happens](https://raw.githubusercontent.com/farseerdev/sheet-happens/main/example/src/assets/sheethappensimg.png)\n\n## Install\n\n```bash\nnpm install --save sheet-happens\n```\n\n## Usage\nTo use our Sheet in your project, just import the component and its style and render it:\n\n```jsx\nimport React, { Component } from 'react'\n\nimport Sheet from 'sheet-happens'\nimport 'sheet-happens/dist/index.css'\n\nclass Example extends Component {\n  render() {\n    return \u003cSheet /\u003e\n  }\n}\n```\n\nOf course, you can also display some data in it:\n```jsx\nconst [data, setData] = useState([[1,2,3], [10,20,30]]);\n    \nconst displayData = (x, y) =\u003e {\n    return data?.[y]?.[x]?.toFixed?.(2);\n};\n\nreturn (\n    \u003cdiv className=\"sheet-box\"\u003e\n        \u003cSheet\n            sourceData={data}\n            displayData={displayData}\n        /\u003e\n    \u003c/div\u003e\n);\n```\n\nGo to our [example page](https://farseerdev.github.io/sheet-happens/) to learn more about [features](https://farseerdev.github.io/sheet-happens#features) it has and checkout [documentation](https://farseerdev.github.io/sheet-happens#documentation) for detailed list of props you can send to this component. \u003cbr /\u003e\n\nAlong with descriptions, page also contains multiple Sheet components you can use to try out is it a good match for your needs. Edit some values, paste some data, drag columns and rows for resize, and so on.\n\n\n## License\n\nMIT © [Luka-M](https://github.com/Luka-M)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarseerdev%2Fsheet-happens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarseerdev%2Fsheet-happens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarseerdev%2Fsheet-happens/lists"}