{"id":23077084,"url":"https://github.com/cleyfaye/xlsxhelper","last_synced_at":"2025-07-18T16:37:35.216Z","repository":{"id":141832915,"uuid":"104457586","full_name":"CleyFaye/xlsxhelper","owner":"CleyFaye","description":"Helper code to manipulate Spreadsheets using js-xlsx","archived":false,"fork":false,"pushed_at":"2017-09-28T08:18:31.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T12:30:26.526Z","etag":null,"topics":["js-xlsx","pptxgenjs","sheet","utility","workbook"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/CleyFaye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-09-22T09:34:21.000Z","updated_at":"2017-09-25T15:41:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"76364739-28a0-42ca-844f-2433ec7b6dca","html_url":"https://github.com/CleyFaye/xlsxhelper","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/CleyFaye/xlsxhelper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleyFaye%2Fxlsxhelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleyFaye%2Fxlsxhelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleyFaye%2Fxlsxhelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleyFaye%2Fxlsxhelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleyFaye","download_url":"https://codeload.github.com/CleyFaye/xlsxhelper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleyFaye%2Fxlsxhelper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265793684,"owners_count":23829180,"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":["js-xlsx","pptxgenjs","sheet","utility","workbook"],"created_at":"2024-12-16T10:00:24.326Z","updated_at":"2025-07-18T16:37:35.186Z","avatar_url":"https://github.com/CleyFaye.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"xlsx/pptx helper - Utility code for spreadsheets and presentations\n==================================================================\n\n\nxlxshelper\n----------\n\n\n### Description\nThese classes makes it easier to create workbooks from scratch.\nThe Workbook class is used to gather spreadsheets, while the Sheet class contain the actual data.\n\n\n### Use case\nThe primary use case here is to format data, coming from various source and processed by JavaScript, into CSV/ODT/XLSX files.\n\n\n### Usage\nInstances of Workbook can be created without any parameter.\nInstances of Sheet are created by providing their initial content and name as an argument.\nAdding Sheet instance to a Workbook is done by calling Workbook.addSheet().\n\n\n### Example\n``` JavaScript\nvar data = [\n    [1, 2, 3],\n    [4, 5, 6]];\nvar wb = new xlsxhelper.Workbook();\nvar sheet = new xlsxhelper.Sheet('SheetName', data);\nwb.addSheet(sheet);\nwb.createFile('odt', 'basefilename', downloader);\n```\n\n\npptxhelper\n----------\n\n\n### Description\nClasses to create PPTX presentations with images.\nThis helper main goal is to semi-transparently allow the download of images for integration into the output.\n\n\n### Use case\nDynamic generation of a presentation slide depending on user-specific actions.\n\n\n### Usage\nCreate an instance of Presentation to start.\nAdd slides using Presentation.addSlide().\nAdd text and images to a slide, or pre-populate it by using a short json description.\nTo download the presentation, use Presentation.download().\n\n\n### Example\n``` JavaScript\nvar pptx = new pptxhelper.Presentation();\nvar slide = pptx.addSlide();\nslide.addText(0, 0, \"Hello\");\nslide.addImage(5, 2, 1, 1, '/img/carret.jpg');\npptx.download('sample');\n```\n\n\nInstallation\n------------\nInclude the 'dist/xlsxhelper.js' file somewhere before you use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleyfaye%2Fxlsxhelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleyfaye%2Fxlsxhelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleyfaye%2Fxlsxhelper/lists"}