🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

react-file-download

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-file-download

React component that trigger browser to save javascript-generated content to a file

0.3.0
Version published
Weekly downloads
6K
-23.07%
Maintainers
1
Weekly downloads
 
Created

React File Download

NPM version Build Status

Dependency Status devDependency Status peerDependency Status

React component to trigger browser to save data to file as if it was downloaded.

Installation

npm install react-file-download --save

Usage

var fileDownload = require('react-file-download');
fileDownload(data, 'filename.csv');

FAQs

Package last updated on 28 Jun 2016

Did you know?

Socket

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