Installation
System Requirements
- Node.js 18 or later
- TypeScript 5.0 or later
- No native Office libraries or system packages required
Install via npm
git clone https://github.com/aspose-cells-foss/Aspose.Cells-FOSS-for-TypeScript.git
cd Aspose.Cells-FOSS-for-TypeScript
npm install
npm run buildInstall from Source
Clone the repository and install dependencies:
git clone https://github.com/aspose-cells-foss/Aspose.Cells-FOSS-for-TypeScript.git
cd Aspose.Cells-FOSS-for-TypeScript
npm installVerify Installation
Create a test file to verify the library loads correctly:
import { Workbook } from "excel-cells";
const workbook = new Workbook();
const worksheet = workbook.worksheets[0]!;
worksheet.putValue("A1", "Hello, Aspose.Cells!");
await workbook.save("test.xlsx");
console.log("Installation verified.");Dependencies
Building from source pulls in three npm sub-dependencies via npm install:
@zip.js/zip.js— ZIP archive handling for XLSX files@xmldom/xmldom— XML DOM parsingadm-zip— additional ZIP utilities
These are fetched automatically by the npm install step above.