node js write large data to excel

In this sample I am using a node module called ‘ ExcelJS‘. This will stream the data to the file instead of big data in memory (if we are keeping large amount of data in memory, we may get JavaScript heap out of memory exception ) this will write to the file

Install the module using npm

then in the node application just import the module

we can use the same module in typescript also

refer : exceljs

Author: bm on October 18, 2018
Category: Uncategorized

Your comment:

Your Name


Last articles