Socket
Socket
Sign inDemoInstall

filefy

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    filefy

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


Version published
Weekly downloads
79K
increased by7.58%
Maintainers
1
Install size
7.97 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 31 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc