Frequently Asked Questions

What is Aspose.Cells FOSS for TypeScript?

Aspose.Cells FOSS for TypeScript is a free, MIT-licensed library for creating, reading, modifying, and exporting Excel spreadsheets from TypeScript and Node.js applications. It has no dependency on Microsoft Office.

Which file formats are supported?

XLSX is supported for both reading and writing. Export-only formats include CSV, JSON, Markdown, and HTML. HTML can also be imported via HtmlReader.

Does it require Microsoft Excel or Office?

No. Aspose.Cells FOSS is a pure TypeScript library with no dependency on Microsoft Office, COM automation, or any proprietary runtime.

How do I install it?

Run npm install @aspose/cells@1.0.0. No additional system packages or native extensions are required.

Can I apply cell styling?

Yes. Use the Style class with methods like setBold(), setItalic(), setFontSize(), setFontName(), and setFontColor() to style individual cells.

Is workbook protection supported?

Yes. Call workbook.protect(true, "password") to protect a workbook with a password. Individual cells can be locked with style.setLocked(true).

Can I add data validation?

Yes. Create a DataValidation object, set its type (e.g., "list"), and apply it to a cell range with worksheet.addDataValidation().

Where can I find the source code?

The source code, issue tracker, and contribution guide are available on GitHub under the MIT license.

See Also