Welcome to @costamatheus97/json-to-excel 👋

Version License: MIT Twitter: txpsss

Generate an excel file or workbook from your json data

Install

yarn install @costamatheus97/json-to-excel

Usage

  • 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,
  },
]);

Author

👤 Matheus Costa

🤝 Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


GitHub

View Github