# filefy

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

Latest version **0.1.11** (published 2021-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install filefy
pnpm add filefy
yarn add filefy
bun add filefy
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.11 |
| Published | 2021-05-31 |
| First published | 2018-10-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 44 |
| Author | Mehmet Baran |
| Maintainers | mbrn |
| Keywords | javascript, file, export, csv, pdf, xlsx |

## Links

- npm: https://www.npmjs.com/package/filefy
- Repository: https://github.com/mbrn/filefy
- Homepage: https://github.com/mbrn/filefy#readme
- Issues: https://github.com/mbrn/filefy/issues
- npm.io page: https://npm.io/package/filefy

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 0.1.11 (latest) — 2021-05-31
- 0.1.10 — 2019-10-23
- 0.1.9 — 2019-03-18
- 0.1.8 — 2019-03-11
- 0.1.7 — 2019-01-24
- 0.1.6 — 2018-10-27
- 0.1.5 — 2018-10-23
- 0.1.4 — 2018-10-23
- 0.1.3 — 2018-10-23
- 0.1.2 — 2018-10-16
- 0.1.1 — 2018-10-15
- 0.1.0 — 2018-10-14

## README

# filefy
[![Build Status](https://travis-ci.org/mbrn/filefy.svg?branch=master)](https://travis-ci.org/mbrn/filefy)
[![npm package](https://img.shields.io/npm/v/filefy/latest.svg)](https://www.npmjs.com/package/filefy)
[![NPM Downloads](https://img.shields.io/npm/dt/filefy.svg?style=flat)](https://npmcharts.com/compare/filefy?minimal=true)
[![Follow on Twitter](https://img.shields.io/twitter/follow/baranmehmet.svg?label=follow+baranmehmet)](https://twitter.com/baranmehmet)


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

```js
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](/LICENSE).

---
_Source: https://npm.io/package/filefy · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
