Skip to content
/ filefy Public

A javascript library to produce downloadable files such as in CSV, PDF, XLSX, DOCX formats

License

Notifications You must be signed in to change notification settings

mbrn/filefy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filefy

Build Status npm package NPM Downloads Follow on Twitter

A javascript library to produce downloadable files such as in CSV, PDF, XLSX, DOCX formats

Only CSV export is available for now!

Installation

To install filefy with npm:

npm install --save filefy

To install filefy with yarn:

yarn add filefy

Usage

import { CsvBuilder } from 'filefy';

var csvBuilder = new CsvBuilder("user_list.csv")
  .setColumns(["name", "surname"])
  .addRow(["Eve", "Holt"])
  .addRows([
    ["Charles", "Morris"],
    ["Tracey", "Ramos"]
  ])
  .exportFile();

Licence

This project is licensed under the terms of the MIT license.

About

A javascript library to produce downloadable files such as in CSV, PDF, XLSX, DOCX formats

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published