Namespace, Primitive, Method

    js-file-download
    TypeScript icon, indicating that this package has built-in type declarations

    0.4.12 • Public • Published

    Javascript File Download

    Javascript function to trigger browser to save data to file as if it was downloaded.

    Installation

    npm install js-file-download --save
    

    Usage

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

    Install

    npm i js-file-download

    DownloadsWeekly Downloads

    225,434

    Version

    0.4.12

    License

    MIT

    Unpacked Size

    4.57 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar