Skip to content

UK-AS-HIVE/meteor-export-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hive:export-csv

Package to implement CSV exporting on a collection with specified filters.

Installation

To install the package, create a packages/ directory in your meteor app, and move hive:export-csv there. Then run meteor add hive:export-csv

ex:

API

exportCSV() - server

action for a server-side route

writeCSV(collection, filter, fields, [filename], stream) - server

writes specified collection documents into stream as flattened CSV

downloadCSV(collectionName, filters, fields, filename) - client

automatically download a csv file with the data selected. probably deprecated - consider unstable

About

Smart Package to export a given collection to a CSV file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •