1.0.0 • Published 4 years ago

lushan-export-to-csv v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

lushan-export-to-csv

You can export records stored in the Mongo DB, to a CSV file.

Installation

npm i lushan-export-to-csv

Usage

const csv = require(‘lushan-export-to-csv’);

Example:

csv.exportCsv(EntityName, Headers, Cursor, BaseUrl, DestinationFolder)

Parameters

  • EntityName : name of the entity you want to export. This will be used to generate the file name. For example citizens, companies, etc. (Type: String)

  • Headers : will be used as a column heading. (Type: String)

  • Cursor :

  • BaseUrl :

  • DestinationFolder :