Skip to content
JS
Package

set-function-name

Set a function's name property

v2.0.2, 20 Feb 2024MITCommonJSTypes: Bundled
$ npm install set-function-name

Key numbers

As of 25 Sept 2026
Weekly downloads
62.1m
+80% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
2 years ago
v2.0.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 84m (25 Aug 2026)Low 23.1m (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.

62,064,729 downloads last week, 288,478,237 in the last month. The 12-month change of +80% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
04 in total
Latest version
2.0.2, 20 Feb 20242 years ago
First published
14 Sept 2017
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
670

Major versions

  1. v2 first release 2.0.0, 13 Sept 2023
  2. v1 first release 1.0.0, 14 Sept 2017

Recent releases

VersionPublished
2.0.220 Feb 2024
2.0.113 Sept 2023
2.0.013 Sept 2023
1.0.014 Sept 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (4)
es-errorsdefine-data-propertyfunctions-have-nameshas-property-descriptors
npm install set-function-name
  • jsDelivrhttps://cdn.jsdelivr.net/npm/set-function-name@2.0.2/
  • unpkghttps://unpkg.com/set-function-name@2.0.2/
  • esm.shhttps://esm.sh/set-function-name@2.0.2
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.