Generate an excel file or workbook from your json data
yarn install @costamatheus97/json-to-excel
- Generating an Excel file
const { createLocalFile } = require("@costamatheus97/json-to-excel");
await createLocalFile("path/to/folder", "workbook-name", [
{
name: "Matheus",
age: 25,
},
{
name: "Joseph",
age: 54,
},
]);
- Generating an Excel Workbook
const { createWorkbook } = require("@costamatheus97/json-to-excel");
const workbook = await createWorkbook("workbook-name", [
{
name: "Matheus",
age: 25,
},
{
name: "Joseph",
age: 54,
},
]);
👤 Matheus Costa
- Website: https://dev.to/costamatheus97
- Twitter: @txpsss
- Github: @costamatheus97
- LinkedIn: @costamatheus97
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator