@sheetxl/sdk
v0.7.26
Published
SDK - A high-performance, embeddable spreadsheet engine.
Downloads
7,829
Readme
SDK
A high-performance, embeddable spreadsheet engine for TypeScript and JavaScript. This package provides the SDK, designed for embedding spreadsheet functionality directly into applications.
SheetXL handles large and sparse datasets with an efficient columnar model and provides a powerful calculation engine with a clean, flexible API. As a zero-dependency headless library, it integrates easily into any tech stack.
- Read / write cell data
- Excel-class calculation engine
- Styling & formatting model
- Headless execution (bring your own UI)
- Designed for large, sparse datasets
Part of the SheetXL ecosystem, which also includes UI components and import/export tools.
Installation
pnpm install @sheetxl/sdkQuick Start
import { Workbook } from "@sheetxl/sdk";
// Create a workbook
const wb = new Workbook();
const sheet = wb.addSheet("Demo");
// Write values
sheet.getRange("A1").setValue(42);
sheet.getRange("B1").setValue(2);
// Formula
sheet.getRange("C1").setFormula("=A1*B1");
// Read result
console.log(sheet.getRange("C1").getValue()); // 84
CLI
For quick scripts or inspection, you can also run SheetXL directly without installation:
npx sheetxl🔗 Learn More
Whether you're ready to build, need help, or just want to see more examples, here's where to go next.
- 💬 Join our Discord Community - Get help and connect with the team.
- ⭐ Star us on GitHub - If you like SheetXL give us a star ⭐ and help others find us!
- 📘 Developer Docs - Guides and tutorials.
- 🔌 API Reference - Detailed documentation for all packages.
- 👀 Live Demo Gallery - A showcase of interactive examples.
- 🖼️ Storybook - Explore and test individual UI components.
- 🌐 Website - Our Website.
