Skip to content

aminato/VueComposables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

VueComposables

UseCsv

Depends on:

  • Typescript
  • papaparse
  • @vueuse/shared

interface

  • useCsv(options?: MaybeRef) it expects the papaparse Unparse options. it returns a function exportToFile and a function importFromFile

  • exportToFile It expects a filename and an array of genercis T, then it parses the array end prompt a download for the filename provided

  • importFromFile It expects a file and the ParseConfig from papaparse. It returns a Promise with an Array of generic T, or throw

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%