{"id":20762827,"url":"https://github.com/astrocoders/pdfmake-to-html","last_synced_at":"2025-04-30T07:08:59.917Z","repository":{"id":57321536,"uuid":"90628295","full_name":"Astrocoders/pdfmake-to-html","owner":"Astrocoders","description":"An experiment to convert pdfmake's JSON tree into a DOM tree","archived":false,"fork":false,"pushed_at":"2017-05-08T17:47:41.000Z","size":42,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-04-30T07:08:54.535Z","etag":null,"topics":["html","pdf","pdfmake"],"latest_commit_sha":null,"homepage":"","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/Astrocoders.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}},"created_at":"2017-05-08T12:58:28.000Z","updated_at":"2023-06-06T09:50:04.000Z","dependencies_parsed_at":"2022-08-25T22:41:41.521Z","dependency_job_id":null,"html_url":"https://github.com/Astrocoders/pdfmake-to-html","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrocoders%2Fpdfmake-to-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrocoders%2Fpdfmake-to-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrocoders%2Fpdfmake-to-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrocoders%2Fpdfmake-to-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Astrocoders","download_url":"https://codeload.github.com/Astrocoders/pdfmake-to-html/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251658212,"owners_count":21622822,"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":["html","pdf","pdfmake"],"created_at":"2024-11-17T10:39:23.188Z","updated_at":"2025-04-30T07:08:59.883Z","avatar_url":"https://github.com/Astrocoders.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pdfmakeToHTML\n==========\n[![travis](https://travis-ci.org/Astrocoders/pdfmake-to-html.svg?branch=develop)](https://travis-ci.org/Astrocoders/pdfmake-to-html)\n\nConvert pdfmake's JSON tree into a DOM tree\n\n## Install\n```\nyarn add pdfmake-to-html\n```\n\n# Usage\n```js\nimport pdfmakeToHTML from 'pdfmake-to-html'\n\nconst documentDefinition = {\n  table: {\n    body: [\n      [ `I'm a column`, `I'm a column` ],\n    ]\n  },\n}\n\nconst dom = pdfmakeToHTML(documentDefinition) // that's it!\n```\n\nNot all structures are supported until this very moment and there are a lot of specifics for my usage now (semantic UI, table renders actually to a grid).\nBut I intend to make it more general purpose in the near future.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrocoders%2Fpdfmake-to-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrocoders%2Fpdfmake-to-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrocoders%2Fpdfmake-to-html/lists"}