Export from json to excel in nuxt3?
Anyone can recommend a package or module to export from json to excel or csv, directly from the browser in Nuxt3?
6 Replies
npm
xlsx
SheetJS Spreadsheet data parser and writer. Latest version: 0.18.5, last published: a year ago. Start using xlsx in your project by running
npm i xlsx
. There are 3660 other projects in the npm registry using xlsx.GitHub
GitHub - SheetJS/sheetjs: π SheetJS Spreadsheet Data Toolkit -- New...
π SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs - GitHub - SheetJS/sheetjs: π SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/she...
Hi @manniL / TheAlexLichter can you send a repo (stackbliztz or other) os using shetjs in nuxt3?
There is a SheetJS example with Nuxt Content itself
https://docs.sheetjs.com/docs/demos/static/nuxtjs#nuxt-content-v2
NuxtJS | SheetJS Community Edition
@nuxt/content is a file-based CMS for Nuxt, enabling static-site generation
If you want a plain nuxt integration (which is reasonable too), give it a spin based on the documentation of SheetJS and Nuxt βΊοΈ
ok, thanks π
I will deepen the subject
the npm export-to-csv is much more friendly
https://www.npmjs.com/package/export-to-csv
the con ...only export to csv
npm
export-to-csv
Easily create CSV data from json collection. Latest version: 0.2.1, last published: 4 years ago. Start using export-to-csv in your project by running
npm i export-to-csv
. There are 85 other projects in the npm registry using export-to-csv.