# onedionys-pdf-generation-utilities

> One Dionys (PDF Generation Utilities) - A utility for generating PDF documents from dynamic content in web applications, such as reports or invoices.

Latest version **5.0.0** (published 2024-03-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install onedionys-pdf-generation-utilities
pnpm add onedionys-pdf-generation-utilities
yarn add onedionys-pdf-generation-utilities
bun add onedionys-pdf-generation-utilities
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2024-03-31 |
| First published | 2024-03-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | One Dionys |
| Maintainers | onedionys |
| Keywords | onedionys, tea, package-manager, pdf-generation-utilities |

## Links

- npm: https://www.npmjs.com/package/onedionys-pdf-generation-utilities
- Repository: https://github.com/onedionys/onedionys-pdf-generation-utilities
- Homepage: https://github.com/onedionys/onedionys-pdf-generation-utilities#readme
- Issues: https://github.com/onedionys/onedionys-pdf-generation-utilities/issues
- npm.io page: https://npm.io/package/onedionys-pdf-generation-utilities

## Dependencies (8)

- [jquery](https://npm.io/package/jquery.md) ^3.7.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [onedionys-montea-magic](https://npm.io/package/onedionys-montea-magic.md) ^1.0.0
- [onedionys-shop-builder](https://npm.io/package/onedionys-shop-builder.md) ^2.5.1
- [onedionys-string-utils](https://npm.io/package/onedionys-string-utils.md) ^1.0.0
- [onedionys-date-languange](https://npm.io/package/onedionys-date-languange.md) ^2.5.1
- [onedionys-scrape-twitter](https://npm.io/package/onedionys-scrape-twitter.md) ^1.0.0
- [onedionys-number-languange](https://npm.io/package/onedionys-number-languange.md) ^2.5.0

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 5.0.0 (latest) — 2024-03-31
- 1.0.1 — 2024-03-18
- 1.0.0 — 2024-03-17

## README

<h1 align="center">Welcome to One Dionys - PDF Generation Utilities! 👋 </h1>

<p align="center">A utility for generating PDF documents from dynamic content in web applications, such as reports or invoices. 💖 </p>

<p align="center">
<img src="https://img.shields.io/github/contributors/onedionys/onedionys-pdf-generation-utilities?style=flat-square">
<img src="https://img.shields.io/github/issues/onedionys/onedionys-pdf-generation-utilities?style=flat-square">
<img src="https://img.shields.io/github/stars/onedionys/onedionys-pdf-generation-utilities?style=flat-square"> 
<img src="https://img.shields.io/github/forks/onedionys/onedionys-pdf-generation-utilities?style=flat-square">
<img src="https://img.shields.io/github/last-commit/onedionys/onedionys-pdf-generation-utilities.svg?style=flat-square">
<img src="https://img.shields.io/github/languages/code-size/onedionys/onedionys-pdf-generation-utilities?style=flat-square">
<img src="https://img.shields.io/github/license/onedionys/onedionys-pdf-generation-utilities?style=flat-square">
</p>

## 💾 Requirements

* `Web Browser` - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
* `Internet` - Because many use CDN and to make it easier to find solutions to all problems.

## 🎯 How To Use

#### Example Syntax

```javascript
const { generatePDF } = require('pdf-generation-utilities');

const data = {
    // Your data to be included in the PDF
};

generatePDF(data)
    .then(pdfPath => {
        console.log('PDF generated:', pdfPath);
    })
    .catch(error => {
        console.error('Error generating PDF:', error);
    });
```

#### Explanation

* This package exports a single function generatePDF(data) which takes an object data as input and returns a promise. The generatePDF function generates a PDF document based on the provided data and returns the path to the generated PDF file.

#### Return Value

* The generatePDF function returns a promise that resolves with the path to the generated PDF file.

## 📆 Release Date

* v1.0.0 : 18 March 2024
* v1.0.1 : 18 March 2024
* v1.0.2 : 22 March 2024
* v5.0.0 : 31 March 2024

## 🧑 Author

* Facebook : <a href="https://www.facebook.com/theonedionys"> Oned Ionys</a>
* Instagram : <a href="https://www.instagram.com/onedionys/"> @onedionys</a>
* Twitter : <a href="https://twitter.com/onedionys"> @onedionys</a>
* LinkedIn :  <a href="https://www.linkedin.com/in/onedionys/"> @onedionys</a>

## 📝 License

* Copyright © 2024 One Dionys
* **One Dionys - PDF Generation Utilities is an open source project licensed under the MIT license**

## ☕️ Suppport & Donation

Love One Dionys - PDF Generation Utilities? Support this project by donating or sharing with others in need.

<a href="https://www.buymeacoffee.com/onedionys"><img src="https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black"/> </a>

**Made with ❤️ One Dionys**

---
_Source: https://npm.io/package/onedionys-pdf-generation-utilities · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
