Getting Started & Importing⬆
@office-core/exceljs is published to npm as a native ES Module (type: "module").
npm install @office-core/exceljsimport ExcelJS from '@office-core/exceljs';
// Or named imports:
import { Workbook, WorkbookWriter, WorkbookReader } from '@office-core/exceljs';Browser and Bundlers⬆
@office-core/exceljs targets Node.js 24+ and modern ES2024 environments. When using @office-core/exceljs in browser or client-side applications, import via standard ES Module syntax and bundle with modern tools such as Vite, Webpack, Rollup, or esbuild.