Installation

System Requirements

  • Node.js 18 or later
  • TypeScript 5.0 or later
  • No native Office libraries or system packages required

Install via npm

npm install @aspose/cells@1.0.0

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 "@aspose/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

The library depends on three npm packages:

  • @zip.js/zip.js — ZIP archive handling for XLSX files
  • @xmldom/xmldom — XML DOM parsing
  • adm-zip — additional ZIP utilities

All dependencies are installed automatically by npm.

See Also