{"id":16207058,"url":"https://github.com/maifeeulasad/to-spreadsheet","last_synced_at":"2025-03-19T07:31:42.050Z","repository":{"id":61588604,"uuid":"496936217","full_name":"maifeeulasad/to-spreadsheet","owner":"maifeeulasad","description":"npm to package to create spreadsheet in node environment","archived":false,"fork":false,"pushed_at":"2023-10-16T07:36:24.000Z","size":78,"stargazers_count":5,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T16:41:41.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maifeeulasad.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,"publiccode":null,"codemeta":null}},"created_at":"2022-05-27T09:25:40.000Z","updated_at":"2024-01-09T10:40:50.000Z","dependencies_parsed_at":"2024-10-27T20:39:07.294Z","dependency_job_id":null,"html_url":"https://github.com/maifeeulasad/to-spreadsheet","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.2857142857142857,"last_synced_commit":"4c872cd1332d0fad7aadf668a3447d26ac41a856"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maifeeulasad%2Fto-spreadsheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maifeeulasad%2Fto-spreadsheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maifeeulasad%2Fto-spreadsheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maifeeulasad%2Fto-spreadsheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maifeeulasad","download_url":"https://codeload.github.com/maifeeulasad/to-spreadsheet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976644,"owners_count":20377693,"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-10-10T10:10:24.036Z","updated_at":"2025-03-19T07:31:41.810Z","avatar_url":"https://github.com/maifeeulasad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# to-spreadsheet\nnpm package to create spreadsheet in node environment and in browser\n\n\n[![npm version](https://img.shields.io/npm/v/to-spreadsheet.svg)](https://www.npmjs.com/package/to-spreadsheet)\n[![minified](https://badgen.net/bundlephobia/min/to-spreadsheet)](https://badgen.net/bundlephobia/min/to-spreadsheet)\n[![minified + gzipped](https://badgen.net/bundlephobia/minzip/to-spreadsheet)](https://badgen.net/bundlephobia/minzip/to-spreadsheet)\n\n[![GitHub stars](https://img.shields.io/github/stars/maifeeulasad/to-spreadsheet)](https://github.com/maifeeulasad/to-spreadsheet/stargazers)\n[![GitHub watchers](https://img.shields.io/github/watchers/maifeeulasad/to-spreadsheet)](https://github.com/maifeeulasad/to-spreadsheet/watchers)\n[![Commits after release](https://img.shields.io/github/commits-since/maifeeulasad/to-spreadsheet/latest/main?include_prereleases)](https://img.shields.io/github/commits-since/maifeeulasad/to-spreadsheet/latest/main?include_prereleases)\n\n# NPM\n```\nnpm i to-spreadsheet\n```\n\n\n# Usage\n[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?logo=codesandbox)](https://codesandbox.io/s/to-spreadsheet-example-hdmrvc?file=/src/App.tsx)\n\n```ts\nimport { generateExcel , EnvironmentType, skipCell, writeEquation } from 'to-spreadsheet/lib/index';\n\nconst sampleData = [\n  {\n    title: 'Maifee1', content: [\n      ['meaw', 'grrr'],\n      ['woof', 'smack'],\n      [1],\n      [1, 2],\n      [1, 2, 3, writeEquation('SUM(A5,C5)')],\n    ]\n  },\n  { title: 'Maifee2', content: [[1], [1, skipCell(3), 2]] },\n  { title: 'Maifee3', content: [['meaw', undefined, \"meaw\"], [\"woof\", 'woof']] }\n]\n\ngenerateExcel(sampleData); // \u003c-- by default generate XLSX for node\ngenerateExcel(sampleData, EnvironmentType.BROWSER); // \u003c-- for browser\n```\n\n# Features\n - [x] Multiple sheet support\n - [x] Equations\n - [ ] Cell styling\n - [ ] Sheet styling\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaifeeulasad%2Fto-spreadsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaifeeulasad%2Fto-spreadsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaifeeulasad%2Fto-spreadsheet/lists"}