nuxt / nuxt/modules

[Module Listing Request]: @maistik/nuxt-pdf

Open
#1,514 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

module-request
Dominant language
TypeScript
Stars
1.1k
Forks
354
Avg merge
10h 18m
Merged PRs (30d)
12

Description

Description

@maistik/nuxt-pdf is a server-side PDF generation module for Nuxt 3 & 4. It renders PDFs from Handlebars templates (.hbs) entirely in Nitro/Node — no PDF code is shipped to the browser.

Key features:

  • Provider-agnostic rendering — switch between Gotenberg, Browserless, or Puppeteer via config.
  • Built-in i18n — a {{t}} helper with nested message keys and locale-aware Intl formatting (currency, dates, numbers).
  • Rich helper library — currency, date, number, math, string, and comparison helpers, plus user-defined custom helpers that work in production.
  • Composable APIusePdf() exposes generate() (returns a Blob) and download().
  • Print-aware — supports @page, page breaks, and @media print styling.

Templates are auto-discovered from your project, and a POST /api/pdf server route is registered automatically.

Repository

https://github.com/Maistik-Studio/nuxt-pdf

npm

https://www.npmjs.com/package/@maistik/nuxt-pdf

Nuxt Compatibility

Nuxt 4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the nuxt/modules repository alongside the linked @maistik/nuxt-pdf repository and npm package. Compare the module details with existing listings; done means the module is represented accurately in the modules directory, including its Nuxt 4 compatibility and documented capabilities.

Written by the indexing model from the issue text.

Assessment

Tech stack
handlebars, nuxtjs
Domain
content, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.