How to use it and how to install it.
$ npm i adisorn_export_excel
- Export Excel based on received data.
const test = require('adisorn_export_excel');
const data = [
{ Name: 'John Doe', Age: 28, Email: 'john@example.com' },
{ Name: 'Jane Doe', Age: 25, Email: 'jane@example.com' },
{ Name: 'Sam Smith', Age: 22, Email: 'sam@example.com' }
];
const typedata = 'xlsx';
console.log(test(data , typedata));