Skip to content
JS
Package

js-file-download

Javascript function that triggers browser to save javascript-generated content to a file

v0.4.12, 6 May 2020MITCommonJSTypes: BundledReact
$ npm install js-file-download

Key numbers

As of 25 Sept 2026
Weekly downloads
851.2k
+40% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v0.4.12
GitHub stars
920
114 forks
Open issues / PRs
9 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (21 Jul 2026)Low 382.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

851,197 downloads last week, 4,427,355 in the last month. The 12-month change of +40% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
013 in total
Latest version
0.4.12, 6 May 20206 years ago
First published
14 Sept 2017
Last push to GitHub
30 Jul 20221,517 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
392

Major versions

  1. v0 first release 0.4.0, 14 Sept 2017

Recent releases

VersionPublished
0.4.126 May 2020
0.4.1131 Mar 2020
0.4.1018 Feb 2020
0.4.911 Dec 2019
0.4.820 Aug 2019
0.4.724 May 2019
0.4.622 May 2019
0.4.521 Mar 2019
0.4.429 Sept 2018
0.4.327 Sept 2018
0.4.227 Sept 2018
0.4.114 Sept 2017
0.4.014 Sept 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
4.5 kB
Dependencies (0)
None
npm install js-file-download
  • jsDelivrhttps://cdn.jsdelivr.net/npm/js-file-download@0.4.12/
  • unpkghttps://unpkg.com/js-file-download@0.4.12/
  • esm.shhttps://esm.sh/js-file-download@0.4.12
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.