{"id":17603134,"url":"https://github.com/yjg30737/typescript-child-process-python-pdfkit-example","last_synced_at":"2026-05-04T13:31:20.831Z","repository":{"id":108707569,"uuid":"545908595","full_name":"yjg30737/typescript-child-process-python-pdfkit-example","owner":"yjg30737","description":"Using child_process package in typescript to generate pdf with \"pdfkit\" package of Python","archived":false,"fork":false,"pushed_at":"2022-10-06T00:38:26.000Z","size":165,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T02:46:21.030Z","etag":null,"topics":["child-process","pdfkit","python","typescript","typescript-child-process","typescript-pdf","typescript-pdfkit","typescript-python"],"latest_commit_sha":null,"homepage":"","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/yjg30737.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-10-05T07:25:29.000Z","updated_at":"2023-02-14T22:01:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb1e70a4-efa5-4142-bb0d-1c57f4303a3a","html_url":"https://github.com/yjg30737/typescript-child-process-python-pdfkit-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yjg30737/typescript-child-process-python-pdfkit-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-child-process-python-pdfkit-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-child-process-python-pdfkit-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-child-process-python-pdfkit-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-child-process-python-pdfkit-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/typescript-child-process-python-pdfkit-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Ftypescript-child-process-python-pdfkit-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32609352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["child-process","pdfkit","python","typescript","typescript-child-process","typescript-pdf","typescript-pdfkit","typescript-python"],"created_at":"2024-10-22T13:40:58.540Z","updated_at":"2026-05-04T13:31:20.811Z","avatar_url":"https://github.com/yjg30737.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# typescript-child-process-python-pdfkit-example\nUsing child_process package in typescript to generate pdf with \u003ca href=\"https://pypi.org/project/pdfkit/\"\u003epdfkit\u003c/a\u003e package of Python\n\nGenerated pdf file will be saved in data/download folder.\n\nSample html file(pdf1.html) is in data/static folder.\n\nThis generated pure pdf file(text can be searched) out of that html file by default.\n\nI tried:\n* \u003ca href=\"https://www.npmjs.com/package/html2canvas\"\u003ehtml2canvas\u003c/a\u003e - pdf-pretending image\n* \u003ca href=\"http://raw.githack.com/MrRio/jsPDF/master/docs/index.html\"\u003ejsPDF\u003c/a\u003e - doesn't support a lot of language except for English and few other languages\n* \u003ca href=\"https://github.com/amir20/phantomjs-node/blob/master/examples/render.js\"\u003ephantomjs-node\u003c/a\u003e - it worked, but it's not updated anymore\n\nConclusion: Python rocks.\n\nIf you can come up with better solution than this, let me know!\n\nI will really thank you about that.\n\n## How to install\nSee \u003ca href=\"https://github.com/yjg30737/typescript-crud-example\"\u003ethe base project of this\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Ftypescript-child-process-python-pdfkit-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Ftypescript-child-process-python-pdfkit-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Ftypescript-child-process-python-pdfkit-example/lists"}