# PSPDFKit for Node.js Beta

**Document and Image Conversion**

PSPDFKit for Node.js Beta is a [Node.js PDF library](https://pspdfkit.com/guides/nodejs/?utm_source=npm&utm_medium=referral&utm_campaign=nodejs_readme) for converting Word, Excel, PowerPoint, and image files without MS Office or third-party open source dependencies. It offers developers the ability to quickly add PDF functionality to any Node.js application.

- **JavaScript and Deno** — Simple, easy to use, and highly customizable
- **MS Office and PDF** — Office conversion engine built from the ground up 
- **TIFF, PNG, and JPEG** — Directly render or convert images without any plugins

## Getting Started

1. Install from npm: 

```bash
npm install @pspdfkit/nodejs
```
2. Import the `load` function:

```js
import { load } from '@pspdfkit/nodejs'
```

3. Load a document and convert it to PDF:

```js
const file = fs.readFileSync('./sample.docx');
const instance = await load({ document: file })
const buffer = await instance.exportPDF()
instance.close()
```

## File Type Support

PSPDFKit for Node.js Beta enables you to load, save, convert, and edit 15 different PDF, document, Office, and image file types.

- PDF
- DOCX, DOC, DOTX, DOCM, XLSX, XLS, XLSM, PPTX, PPT, PPTM
- PNG, JPEG, JPG, TIFF, TIF

## Documentation

PSPDFKit offers comprehensive [guides](https://pspdfkit.com/guides/nodejs/?utm_source=npm&utm_medium=referral&utm_campaign=nodejs_readme) to help you quickly integrate and customize your application. It comes with [full technical support](http://pspdfkit.com/support/request/?utm_source=npm&utm_medium=referral&utm_campaign=nodejs_readme) that includes direct access to the engineers who built the product. Whether you have questions getting started or you want to know how to best integrate new features into your app, we’re here to help you find a solution.

Most popular guides:

- [Convert Office to PDF](https://pspdfkit.com/guides/nodejs/conversion/office-to-pdf/?utm_source=npm&utm_medium=referral&utm_campaign=nodejs_readme)
- [Convert Image to PDF](https://pspdfkit.com/guides/nodejs/conversion/image-to-pdf/?utm_source=npm&utm_medium=referral&utm_campaign=nodejs_readme)
- [Convert PDF to Image](https://pspdfkit.com/guides/nodejs/conversion/pdf-to-image/?utm_source=npm&utm_medium=referral&utm_campaign=nodejs_readme)

## Changelog

For a detailed list of the changes included in each version, please see the [changelog](https://pspdfkit.com/changelog/nodejs/?utm_source=npm&utm_medium=referral&utm_campaign=nodejs_readme).

## License and Support

PSPDFKit is a commercial product that offers a [free trial license](https://pspdfkit.com/try/) to evaluate and integrate it into your product. Visit our [pricing page](https://pspdfkit.com/pricing/) to learn more about licensing our solution.
