{"id":18812467,"url":"https://github.com/jsreport/jsreport-phantom-pdf","last_synced_at":"2025-04-13T21:23:41.602Z","repository":{"id":48954552,"uuid":"45618295","full_name":"jsreport/jsreport-phantom-pdf","owner":"jsreport","description":"jsreport recipe which is rendering pdf from html using phantomjs","archived":false,"fork":false,"pushed_at":"2021-08-20T16:34:58.000Z","size":768,"stargazers_count":11,"open_issues_count":8,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-27T11:43:33.998Z","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":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsreport.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":"2015-11-05T14:59:07.000Z","updated_at":"2022-05-20T02:38:36.000Z","dependencies_parsed_at":"2022-09-02T03:22:16.487Z","dependency_job_id":null,"html_url":"https://github.com/jsreport/jsreport-phantom-pdf","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-phantom-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-phantom-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-phantom-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-phantom-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsreport","download_url":"https://codeload.github.com/jsreport/jsreport-phantom-pdf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248433810,"owners_count":21102672,"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-11-07T23:33:29.262Z","updated_at":"2025-04-13T21:23:41.573Z","avatar_url":"https://github.com/jsreport.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**⚠️ This repository has been moved to the monorepo [jsreport/jsreport](https://github.com/jsreport/jsreport)**\n--\n\n# jsreport-phantom-pdf\n[![NPM Version](http://img.shields.io/npm/v/jsreport-phantom-pdf.svg?style=flat-square)](https://npmjs.com/package/jsreport-phantom-pdf)\n[![Build Status](https://travis-ci.org/jsreport/jsreport-phantom-pdf.png?branch=master)](https://travis-ci.org/jsreport/jsreport-phantom-pdf)\n\n\u003e jsreport recipe which is rendering pdf from html using phantomjs\n\nSee the docs https://jsreport.net/learn/phantom-pdf\n\n## Installation\n\n\u003e **npm install jsreport-phantom-pdf**\n\n\n## Usage\nTo use `recipe` in for template rendering set `template.recipe=phantom-pdf` in the rendering request.\n\n```js\n{\n  template: { content: '...', recipe: 'phantom-pdf', engine: '...', phantom: { ... } }\n}\n```\n\n## jsreport-core\nYou can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)\n\n```js\nvar jsreport = require('jsreport-core')()\njsreport.use(require('jsreport-phantom-pdf')({ strategy: 'phantom-server' }))\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-phantom-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsreport%2Fjsreport-phantom-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-phantom-pdf/lists"}