Skip to content
JS
Package

fn-args

Get the arguments of a function, arrow function, generator function, async function

v6.0.0, 24 Aug 2021MITESM onlyTypes: NonePromises and async control flow
$ npm install fn-args

Key numbers

As of 25 Sept 2026
Weekly downloads
535.9k
+69% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v6.0.0
GitHub stars
53
4 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 820.8k (25 Aug 2026)Low 226.6k (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.

535,889 downloads last week, 2,588,094 in the last month. The 12-month change of +69% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
011 in total
Latest version
6.0.0, 24 Aug 20215 years ago
First published
16 Mar 2014
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
62

Major versions

  1. v6 first release 6.0.0, 24 Aug 2021
  2. v5 first release 5.0.0, 2 May 2019
  3. v4 first release 4.0.0, 30 Jan 2019
  4. v3 first release 3.0.0, 22 Apr 2017
  5. v2 first release 2.0.0, 15 Nov 2016
  6. v1 first release 1.0.0, 13 Aug 2014
  7. v0 first release 0.1.0, 16 Mar 2014

Recent releases

VersionPublished
6.0.024 Aug 2021
5.0.02 May 2019
4.0.030 Jan 2019
3.0.022 Apr 2017
2.0.015 Nov 2016
1.0.013 Aug 2014
0.1.429 Apr 2014
0.1.318 Mar 2014
0.1.217 Mar 2014
0.1.116 Mar 2014
0.1.016 Mar 2014
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
^12.20.0 || ^14.13.1 || >=16.0.0
Runtimes
-
Unpacked size (npm)
5.4 kB
Dependencies (0)
None
npm install fn-args
  • jsDelivrhttps://cdn.jsdelivr.net/npm/fn-args@6.0.0/
  • unpkghttps://unpkg.com/fn-args@6.0.0/
  • esm.shhttps://esm.sh/fn-args@6.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.