{"id":25376776,"url":"https://github.com/terrierscript/pdf-image-pack","last_synced_at":"2025-04-09T10:33:41.471Z","repository":{"id":16285110,"uuid":"19033602","full_name":"terrierscript/pdf-image-pack","owner":"terrierscript","description":"pack image to pdf","archived":false,"fork":false,"pushed_at":"2014-05-06T17:13:13.000Z","size":492,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T16:17:57.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"omeka/plugin-SearchByMetadata","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terrierscript.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}},"created_at":"2014-04-22T14:49:44.000Z","updated_at":"2019-09-05T14:01:12.000Z","dependencies_parsed_at":"2022-09-14T12:00:59.063Z","dependency_job_id":null,"html_url":"https://github.com/terrierscript/pdf-image-pack","commit_stats":null,"previous_names":["suisho/pdf-image-pack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fpdf-image-pack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fpdf-image-pack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fpdf-image-pack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fpdf-image-pack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrierscript","download_url":"https://codeload.github.com/terrierscript/pdf-image-pack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248020591,"owners_count":21034459,"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":"2025-02-15T04:39:18.540Z","updated_at":"2025-04-09T10:33:41.451Z","avatar_url":"https://github.com/terrierscript.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Image Pack\nCreate conclude some images PDF slide for node.js.\nPDF generated by [PDFKit](http://pdfkit.org/)\n\n# Usage\n\n```js\nvar PDFImagePack = require(\"pdf-image-pack\")\n\nvar imgs = [\n  \"./fixture/basic/a.png\",\n  \"./fixture/basic/b.png\",\n]\nvar output = \"./tmp/out.pdf\"\nvar slide = new PDFImagePack()\nslide.output(imgs, output, function(err, doc){\n  console.log(\"finish output\")\n})\n\n```\n\n\n# API\n\n## new PDFImagePack([optoon])\n- construction\n- options\n  - option for PDFKit\n\n## PDFImagePack.createDoc(images)\n- return pdf slide object with pdfkit\n- images\n  - images path array\n\n## PDFImagePack.output(images, output, callback)\n- output pdf slide file\n- images {Array}\n  - images path array\n- output {String | Stream}\n  - output destination.\n  - if string, use as output path\n- callback {Function}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Fpdf-image-pack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrierscript%2Fpdf-image-pack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Fpdf-image-pack/lists"}