jwt-mangbom

1.0.0 • Public • Published

Package Name

Description

This package provides functionality for [describe what your package does here].

Installation

You can install this package via [package manager or method].

npm install package-name


## Usage

const package = require('package-name');

// Example usage
// [Provide examples of how to use your package here]


## API

### `PDFGenerator(options?: PDFGeneratorOptions)`

Creates a new instance of PDFGenerator with optional options.

- `options.filename`: Specify the filename for the generated PDF. Default is `'output.pdf'`.

### `addText(text: string, options?: TextOptions): PDFGenerator`

Adds text to the PDF document.

- `text`: The text content to add.
- `options`: Optional parameters for text formatting, such as fontSize, font, alignment, etc.

### `addPage(): PDFGenerator`

Adds a new page to the PDF document.

### `save(): void`

Saves the PDF document to the specified filename.

## Example

Check the `example` directory for an example usage of the PDFGenerator.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

Readme

Keywords

none

Package Sidebar

Install

npm i jwt-mangbom

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.99 kB

Total Files

3

Last publish

Collaborators

  • boomof