Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@framv/docs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@framv/docs

`<framv-docs>` — multi-page document container that paginates HTML content into A4 pages and exports to PDF.

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
21
10.53%
Maintainers
1
Weekly downloads
 
Created
Source

@framv/docs

<framv-docs> — multi-page document container that paginates HTML content into A4 pages and exports to PDF.

Install

npm install @framv/docs

CDN

<script src="https://cdn.jsdelivr.net/npm/@framv/core/dist/bundle.iife.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@framv/docs/dist/bundle.iife.js"></script>

<framv-docs page-size="A4" margin="20">
  <h1>My Document</h1>
  <p>Content for page 1...</p>
  <div class="framv-page-break"></div>
  <p>Content for page 2...</p>
</framv-docs>

Attributes

AttributeDefaultDescription
page-sizeA4A4, A3, A5, letter, legal
orientationportraitportrait or landscape
margin20Page margin in mm

Features

  • Auto-pagination at .framv-page-break markers
  • Export PDF button via jspdf
  • Print button with @media print CSS
  • Page numbers on each page

FAQs

Package last updated on 23 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts