Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inserting image into an excel sheet using Node.js

Tags:

php

node.js

excel

I am trying to programmatically insert images into a cell of an Excel sheet. All the images are located on my local machine. I was using msexcel-builder module but it doesn't seem to have the capability to insert image files into a cell.

After Googling around, I saw this post: PHP code can insert image to excel file and open it correctly in MS Excel? but it's using PHP and I'd rather avoid it if I could.

Are there any NPM modules out there that will allow me to do this?

Thanks, Colin

like image 446
Colin Zhu Avatar asked Dec 13 '14 02:12

Colin Zhu


1 Answers

These are a few npm modules that support inserting images into an excel spreadsheet:

https://www.npmjs.com/package/libxl https://www.npmjs.com/package/excellent https://www.npmjs.com/package/excel4node

like image 86
Bala Clark Avatar answered Oct 12 '22 19:10

Bala Clark