Package category
PDF and documents
Generate, render and parse PDF, DOCX and spreadsheets.
645 packages6 comparisons
Packages compared
645 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| file-type Detect the file type of a file, stream, or data | 41.4m | +61% | - | 8 days ago 22.1.1 | ESM only | Bundled | Image processing, PDF and documents | |
| pdfjs-dist Generic build of Mozilla's PDF.js library. | 19.7m | +345% | - | 26 days ago 6.3.289 | CommonJS | Bundled | PDF and documents | |
| @napi-rs/canvas Canvas for Node.js with skia backend | 17.7m | +1042% | - | 16 days ago 1.0.9 | CommonJS | Bundled | 3D, WebGL and game engines, PDF and documents | |
| @napi-rs/canvas-linux-x64-gnu Canvas for Node.js with skia backend | 15.6m | +1089% | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents | |
| react-error-boundary Simple reusable React error boundary component | 10.9m | +73% | - | 4 days ago 6.1.6 | ESM + CommonJS | Bundled | React, PDF and documents | |
| exceljs Excel Workbook Manager - Read and Write xlsx and csv Files. | 10.7m | +351% | - | 2 years ago 4.4.0 | CommonJS | Bundled | PDF and documents, Parsers and serialisers | |
| jspdf PDF Document creation from JavaScript | 10.6m | +296% | - | 6 months ago 4.2.1 | ESM + CommonJS | Bundled | PDF and documents | |
| @pdf-lib/standard-fonts Metrics for the Standard 14 PDF fonts and their encodings | 10m | +464% | - | 6 years ago 1.0.0 | ESM + CommonJS | Bundled | PDF and documents | |
| pdf-lib Create and modify PDF files with JavaScript | 9.8m | +473% | - | 4 years ago 1.17.1 | ESM + CommonJS | Bundled | PDF and documents, TypeScript tooling | |
| @napi-rs/canvas-linux-x64-musl Canvas for Node.js with skia backend | 9.7m | +768% | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents | |
| ssf Format data using ECMA-376 spreadsheet Format Codes | 9.6m | +187% | - | 6 years ago 0.11.2 | CommonJS | Bundled | PDF and documents | |
| xlsx SheetJS Spreadsheet data parser and writer | 9.3m | +170% | - | 4 years ago 0.18.5 | ESM + CommonJS | Bundled | PDF and documents, Parsers and serialisers | |
| word Word Processing Document library | 9.2m | +195% | - | 6 years ago 0.4.0 | CommonJS | Bundled | Parsers and serialisers, PDF and documents | |
| pdf-parse Pure TypeScript, cross-platform module for extracting text, images, and tabular data from PDFs. Run directly in your browser or in Node! | 6.2m | +431% | - | 11 months ago 2.4.5 | ESM + CommonJS | Bundled | PDF and documents | |
| mammoth Convert Word documents from docx to simple HTML and Markdown | 6.1m | +647% | - | 13 days ago 1.12.3 | CommonJS | Bundled | Markdown, PDF and documents | |
| pdfkit A JavaScript PDF generation library | 6m | +502% | - | 26 days ago 0.20.2 | ESM + CommonJS | None | PDF and documents | |
| canvas Canvas graphics API backed by Cairo | 5.7m | +62% | - | 5 months ago 3.2.3 | CommonJS | Bundled | PDF and documents, Image processing | |
| react-pdf Display PDFs in your React app as easily as if they were images. | 4.7m | +202% | - | 14 days ago 11.0.0 | ESM only | Bundled | PDF and documents, React | |
| docx Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser. | 4m | +806% | - | 1 day ago 9.7.2 | ESM + CommonJS | Bundled | PDF and documents | |
| jspdf-autotable Generate pdf tables with javascript (jsPDF plugin) | 2.9m | +332% | - | 4 months ago 5.0.8 | ESM + CommonJS | Bundled | PDF and documents | |
| unpdf PDF extraction and rendering across all JavaScript runtimes | 2.7m | +2854% | - | 1 month ago 1.8.1 | ESM + CommonJS | Bundled | Cloud SDKs, PDF and documents | |
| pdfmake Client/server side PDF printing in pure JavaScript | 1.9m | +124% | - | 3 months ago 0.3.11 | CommonJS | None | PDF and documents | |
| @napi-rs/canvas-linux-arm64-gnu Canvas for Node.js with skia backend | 1.7m | +757% | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents | |
| read-excel-file Read `.xlsx` files in a web browser or in Node.js | 1.5m | +909% | - | 1 month ago 9.3.10 | - | - | PDF and documents | |
| react-virtualized React components for efficiently rendering large, scrollable lists and tabular data | 1.3m | +21% | - | 1 year ago 9.22.6 | - | - | React, Tables and data grids | |
| @napi-rs/canvas-darwin-arm64 Canvas for Node.js with skia backend | 1.2m | - | - | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents |
| docx-preview [](https://www.npmjs.com/package/docx-preview)
[](https://war.ukraine.ua/) | 1.2m | +1371% | - | 3 days ago 0.4.1 | ESM + CommonJS | Bundled | PDF and documents | |
| @napi-rs/canvas-linux-arm64-musl Canvas for Node.js with skia backend | 1.2m | - | - | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents |
| @napi-rs/canvas-win32-x64-msvc Canvas for Node.js with skia backend | 1.1m | - | - | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents |
| @foliojs-fork/pdfkit A PDF generation library for Node.js | 1.1m | - | - | - | 1 year ago 0.15.3 | ESM + CommonJS | None | PDF and documents |
| @napi-rs/canvas-darwin-x64 Canvas for Node.js with skia backend | 964.1k | - | - | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents |
| docxtemplater Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line | 748.5k | +379% | - | 3 days ago 3.71.0 | CommonJS | Bundled | PDF and documents | |
| react-csv Build CSV files on the fly basing on Array/literal object of data | 700.6k | +33% | - | 4 years ago 2.2.2 | CommonJS | None | React, PDF and documents | |
| bwip-js JavaScript barcode generator supporting over 100 types and standards. | 687.2k | +272% | - | 1 month ago 4.11.4 | ESM + CommonJS | Bundled | PDF and documents, React | |
| write-excel-file Write simple `*.xlsx` files in a browser or Node.js | 655k | +620% | - | 3 months ago 4.1.1 | ESM + CommonJS | Bundled | PDF and documents | |
| @napi-rs/canvas-android-arm64 Canvas for Node.js with skia backend | 617.1k | - | - | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents |
| @napi-rs/canvas-linux-arm-gnueabihf Canvas for Node.js with skia backend | 610.6k | - | - | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents |
| @napi-rs/canvas-linux-riscv64-gnu Canvas for Node.js with skia backend | 605.8k | - | - | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents |
| officeparser A robust, strictly-typed Node.js and Browser library for parsing office files (.docx, .pptx, .xlsx, .odt, .odp, .ods, .odg, .pdf, .rtf, .csv, .md, .html, .epub) and generating high-fidelity outputs in DOCX, ODT, Markdown, HTML, CSV, RTF, PDF, EPUB, and RA | 568.9k | +370% | - | 8 days ago 8.0.0 | ESM + CommonJS | Bundled | PDF and documents, Parsers and serialisers | |
| @napi-rs/canvas-win32-arm64-msvc Canvas for Node.js with skia backend | 559k | - | - | - | 16 days ago 1.0.9 | CommonJS | None | 3D, WebGL and game engines, PDF and documents |
| xlsx-js-style SheetJS Spreadsheet Community Edition plus Basic Cell Styles | 526.5k | +465% | - | 4 years ago 1.2.0 | CommonJS | Bundled | PDF and documents | |
| @embedpdf/pdfium PDFium WebAssembly for the web platform. This package provides a powerful JavaScript interface to PDFium, enabling high-quality PDF rendering and manipulation directly in web applications. | 454.3k | - | - | - | 8 days ago 2.15.1 | ESM + CommonJS | Bundled | PDF and documents |
| react-native-pdf A react native PDF view component, support ios and android platform | 447.8k | +96% | - | 1 month ago 7.0.5 | CommonJS | Bundled | PDF and documents, React | |
| @cantoo/pdf-lib Create and modify PDF files with JavaScript | 430.2k | - | - | - | 10 days ago 2.11.1 | ESM + CommonJS | Bundled | PDF and documents |
| numfmt Full Excel style number formatting | 409.5k | +525% | - | 5 months ago 3.2.6 | ESM + CommonJS | Bundled | PDF and documents, Numbers and maths | |
| @univerjs/protocol Shared protocol types, generated service interfaces, and data contracts for Univer. | 403.4k | - | - | - | 1 day ago 1.0.2 | ESM + CommonJS | Bundled | PDF and documents |
| airtable The official Airtable JavaScript library. | 386.2k | +79% | - | 3 years ago 0.12.2 | CommonJS | Bundled | Database clients and drivers, PDF and documents | |
| @embedpdf/engines Pluggable runtime layer that abstracts over multiple PDF engines (PDF-ium, Web Workers, mocks, etc.) to provide a unified API for rendering, search, annotation, and other document-level operations in EmbedPDF. | 385k | - | - | - | 8 days ago 2.15.1 | ESM + CommonJS | Bundled | PDF and documents |
| @embedpdf/fonts-kr Korean (Hangeul) fallback fonts for EmbedPDF - Noto Sans KR (7 weights) | 373.1k | - | - | - | 8 months ago 1.0.0 | ESM + CommonJS | Bundled | PDF and documents |
| @embedpdf/fonts-sc Simplified Chinese (GB2312) fallback fonts for EmbedPDF - Noto Sans Hans (5 weights) | 373k | - | - | - | 8 months ago 1.0.0 | ESM + CommonJS | Bundled | PDF and documents |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- file-typeDetect the file type of a file, stream, or data
- pdfjs-distGeneric build of Mozilla's PDF.js library.
- @napi-rs/canvasCanvas for Node.js with skia backend
- @napi-rs/canvas-linux-x64-gnuCanvas for Node.js with skia backend
- react-error-boundarySimple reusable React error boundary component
- exceljsExcel Workbook Manager - Read and Write xlsx and csv Files.
- jspdfPDF Document creation from JavaScript
- @pdf-lib/standard-fontsMetrics for the Standard 14 PDF fonts and their encodings
- pdf-libCreate and modify PDF files with JavaScript
- @napi-rs/canvas-linux-x64-muslCanvas for Node.js with skia backend
- ssfFormat data using ECMA-376 spreadsheet Format Codes
- xlsxSheetJS Spreadsheet data parser and writer
- wordWord Processing Document library
- pdf-parsePure TypeScript, cross-platform module for extracting text, images, and tabular data from PDFs. Run directly in your browser or in Node!
- mammothConvert Word documents from docx to simple HTML and Markdown
- pdfkitA JavaScript PDF generation library
- canvasCanvas graphics API backed by Cairo
- react-pdfDisplay PDFs in your React app as easily as if they were images.
- docxEasily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
- jspdf-autotableGenerate pdf tables with javascript (jsPDF plugin)
- unpdfPDF extraction and rendering across all JavaScript runtimes
- pdfmakeClient/server side PDF printing in pure JavaScript
- @napi-rs/canvas-linux-arm64-gnuCanvas for Node.js with skia backend
- read-excel-fileRead `.xlsx` files in a web browser or in Node.js
- react-virtualizedReact components for efficiently rendering large, scrollable lists and tabular data
- @napi-rs/canvas-darwin-arm64Canvas for Node.js with skia backend
- docx-preview[](https://www.npmjs.com/package/docx-preview) [](https://war.ukraine.ua/)
- @napi-rs/canvas-linux-arm64-muslCanvas for Node.js with skia backend
- @napi-rs/canvas-win32-x64-msvcCanvas for Node.js with skia backend
- @foliojs-fork/pdfkitA PDF generation library for Node.js
- @napi-rs/canvas-darwin-x64Canvas for Node.js with skia backend
- docxtemplaterGenerate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line
- react-csvBuild CSV files on the fly basing on Array/literal object of data
- bwip-jsJavaScript barcode generator supporting over 100 types and standards.
- write-excel-fileWrite simple `*.xlsx` files in a browser or Node.js
- @napi-rs/canvas-android-arm64Canvas for Node.js with skia backend
- @napi-rs/canvas-linux-arm-gnueabihfCanvas for Node.js with skia backend
- @napi-rs/canvas-linux-riscv64-gnuCanvas for Node.js with skia backend
- officeparserA robust, strictly-typed Node.js and Browser library for parsing office files (.docx, .pptx, .xlsx, .odt, .odp, .ods, .odg, .pdf, .rtf, .csv, .md, .html, .epub) and generating high-fidelity outputs in DOCX, ODT, Markdown, HTML, CSV, RTF, PDF, EPUB, and RA
- @napi-rs/canvas-win32-arm64-msvcCanvas for Node.js with skia backend
- xlsx-js-styleSheetJS Spreadsheet Community Edition plus Basic Cell Styles
- @embedpdf/pdfiumPDFium WebAssembly for the web platform. This package provides a powerful JavaScript interface to PDFium, enabling high-quality PDF rendering and manipulation directly in web applications.
- react-native-pdfA react native PDF view component, support ios and android platform
- @cantoo/pdf-libCreate and modify PDF files with JavaScript
- numfmtFull Excel style number formatting
- @univerjs/protocolShared protocol types, generated service interfaces, and data contracts for Univer.
- airtableThe official Airtable JavaScript library.
- @embedpdf/enginesPluggable runtime layer that abstracts over multiple PDF engines (PDF-ium, Web Workers, mocks, etc.) to provide a unified API for rendering, search, annotation, and other document-level operations in EmbedPDF.
- @embedpdf/fonts-krKorean (Hangeul) fallback fonts for EmbedPDF - Noto Sans KR (7 weights)
- @embedpdf/fonts-scSimplified Chinese (GB2312) fallback fonts for EmbedPDF - Noto Sans Hans (5 weights)