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 build

Install 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 install

Verify 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 parsing
  • adm-zip — additional ZIP utilities

These are fetched automatically by the npm install step above.

See Also

 English