{"id":20773586,"url":"https://github.com/baybreezy/nuxt-pdfmake","last_synced_at":"2025-04-09T08:08:38.687Z","repository":{"id":178349992,"uuid":"655917130","full_name":"BayBreezy/nuxt-pdfmake","owner":"BayBreezy","description":"Easily generate PDFs in Nuxt.js using pdfmake","archived":false,"fork":false,"pushed_at":"2025-02-16T11:33:03.000Z","size":4268,"stargazers_count":42,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T07:08:29.299Z","etag":null,"topics":["nuxt","nuxt-module","nuxt-pdfmake","pdfmake"],"latest_commit_sha":null,"homepage":"https://nuxt-pdfmake.behonbaker.com/","language":"Vue","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/BayBreezy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-06-19T22:23:55.000Z","updated_at":"2025-03-23T19:44:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"18b96aa5-1723-4611-af1e-1d60c4ab591b","html_url":"https://github.com/BayBreezy/nuxt-pdfmake","commit_stats":{"total_commits":134,"total_committers":2,"mean_commits":67.0,"dds":0.03731343283582089,"last_synced_commit":"04583506469cab67b4f91b6878ff66aabbced78c"},"previous_names":["baybreezy/nuxt-pdfmake"],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BayBreezy%2Fnuxt-pdfmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BayBreezy%2Fnuxt-pdfmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BayBreezy%2Fnuxt-pdfmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BayBreezy%2Fnuxt-pdfmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BayBreezy","download_url":"https://codeload.github.com/BayBreezy/nuxt-pdfmake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999860,"owners_count":21031046,"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":["nuxt","nuxt-module","nuxt-pdfmake","pdfmake"],"created_at":"2024-11-17T12:26:21.405Z","updated_at":"2025-04-09T08:08:38.665Z","avatar_url":"https://github.com/BayBreezy.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt PDFMake\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\nEasily add \u003ca target=\"_blank\" href=\"http://pdfmake.org/#/\"\u003epdfMake\u003c/a\u003e to your Nuxt 3 application.\n\n- [✨ \u0026nbsp;Release Notes](/CHANGELOG.md)\n  \u003c!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/nuxt-pdfmake?file=playground%2Fapp.vue) --\u003e\n  \u003c!-- - [📖 \u0026nbsp;Documentation](https://example.com) --\u003e\n\n## Documentation\n\nSee the documentation here: [Nuxt PDFMake](https://nuxt-pdfmake.behonbaker.com/)\n\n## Quick Setup\n\n1. Add `nuxt-pdfmake` dependency to your project\n\n```bash\n# Using pnpm\npnpm add -D nuxt-pdfmake\n\n# Using yarn\nyarn add --dev nuxt-pdfmake\n\n# Using npm\nnpm install --save-dev nuxt-pdfmake\n```\n\n2. Add `nuxt-pdfmake` to the `modules` section of `nuxt.config.ts`\n\n```js\nexport default defineNuxtConfig({\n  modules: [\"nuxt-pdfmake\"],\n});\n```\n\nThat's it! You can now use Nuxt PDFMake in your Nuxt app ✨.\n\n## Usage\n\nYou can use the `$pdfMake` variable inside a function\n\n```ts\nconst { $pdfMake } = useNuxtApp();\n```\n\nOr you can use the `usePDFMake` composable\n\n```ts\nconst pdfMake = usePDFMake();\n```\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Generate type stubs\nnpm run dev:prepare\n\n# Develop with the playground\nnpm run dev\n\n# Build the playground\nnpm run dev:build\n\n# Run ESLint\nnpm run lint\n\n# Run Vitest\nnpm run test\nnpm run test:watch\n\n# Release new version\nnpm run release\n```\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/nuxt-pdfmake/latest.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-version-href]: https://npmjs.com/package/nuxt-pdfmake\n[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-pdfmake.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-downloads-href]: https://npmjs.com/package/nuxt-pdfmake\n[license-src]: https://img.shields.io/npm/l/nuxt-pdfmake.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[license-href]: https://npmjs.com/package/nuxt-pdfmake\n[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaybreezy%2Fnuxt-pdfmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaybreezy%2Fnuxt-pdfmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaybreezy%2Fnuxt-pdfmake/lists"}