Installation

Installation

This guide shows how to install Aspose.PDF FOSS for TypeScript and verify the package resolves. It targets Node.js 22 and later and has no other runtime dependencies.


Prerequisites

RequirementDetail
Node.js22 or later
OSWindows, Linux, or macOS
Runtime dependenciesNone

1. Install the package

git clone https://github.com/aspose-pdf-foss/Aspose.PDF-FOSS-for-TypeScript.git
cd Aspose.PDF-FOSS-for-TypeScript
npm install
npm run build

2. Verify the installation

Import the Document class to confirm the package resolves correctly:

import { Document } from '@asposefoss/pdf';

Next Steps

See Also

 English