Excel4node
excel4node typings
Install / Use
/learn @Dominic-Preap/Excel4nodeREADME
excel4node
⚠️ If you come across any missing features or typing errors, please create PR and I will review it. Or maybe convince the author to officially include typing. Thank you.
A Typescript interface for excel4node.
Usage
npm i excel4node
yarn add excel4node
After installing the library in your project, create a new typing file generally at the root of the project. Copy everything inside and paste to your file.
touch typings/excel4node.d.ts
•
├── 📁src # Your main source code
├── 📁typings # Typings folder here
│ └── 📄excel4node.d.ts # Create typing file here
├── 📄tsconfig.json # Assuming you have a typescript project
If you have a Typescript project, you need to update your config in tsconfig.json by adding a glob pattern.
{
"compilerOptions": {},
"include": ["src/**/*", "typings/**/*.ts"] // <-- Including glob pattern here
}
Now you can use excel4node with typescript
import { Workbook, Style, Worksheet } from "excel4node";
// Create a new instance of a Workbook class
const wb = new Workbook();
// Add Worksheets to the workbook
wb.addWorksheet('Sheet 1');
wb.write('file.xlsx');
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Security Score
Audited on Feb 8, 2025
