New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pdf-make-previewer

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdf-make-previewer

CLI and library to visualize your PDF generation in real-time.

  • 0.1.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-37.5%
Maintainers
0
Weekly downloads
 
Created
Source

PDF Make Previewer
npm travis licenses

CLI and library to visualize your PDF generation in real-time.

✨ Features

  • 📄 Real-time PDF Preview: Visualize PDF changes as you modify your generation logic without needing to regenerate files manually.
  • 🛠 Easy CLI Setup: Quickly configure and preview your PDFs using the CLI.
  • ⚙️ Customizable Config: Define your PDF generation logic in a dedicated config file.
  • 🛠 Lightweight: Simple and focused tool for PDF previewing during development.

📚 Documentation

For more information on how to use pdf-make-previewer, check out the documentation.

🚀 Quick Start

Run the following command to set up pdf-make-previewer in your project:

npx pdf-make-previewer init

This will guide you through the setup process and generate a configuration file for your project.

📄 Configuration

In the configuration file, import your PDF generation logic. Here’s an example:

// pdf-preview.config.ts

import type { PdfPreviewerConfig } from "pdf-make-previewer"
import { generatePDF } from './your-pdf-functions';

const config: PdfPreviewerConfig = {
  renderPdfPreview: () => generatePDF({name: 'John Doe', age: 30}),
}

export default config

🚀 Run the Preview

To start using pdf-make-previewer, run:

npm run preview

This will open a local server where you can instantly preview any changes made to your PDF generation logic. Make your edits, save the file, and the preview will automatically update in real time. 🔄✨

🤝 Contributions

Contributions are welcome. If you find an issue or have an idea to improve react-component-screenshot, feel free to open an issue or submit a pull request. 🚀

📜 License

Licensed as MIT open source. 📜

Keywords

FAQs

Package last updated on 07 Oct 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc