Skip to content
JS
Package

eslint-plugin-prefer-arrow

Prefer arrow functions in most cases

v1.2.3, 26 Jan 2021MITCommonJSTypes: NoneLinting and formatting
$ npm install eslint-plugin-prefer-arrow

Key numbers

As of 25 Sept 2026
Weekly downloads
682.2k
-27% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v1.2.3
GitHub stars
59
9 forks
Open issues / PRs
8 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.2m (21 Jul 2026)Low 423.8k (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.

682,223 downloads last week, 3,124,776 in the last month. The 12-month change of -27% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
017 in total
Latest version
1.2.3, 26 Jan 20215 years ago
First published
23 Feb 2017
Last push to GitHub
12 Feb 20221,685 days before the snapshot
Repository archived
No
Open issues
8
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
268

Major versions

  1. v1 first release 1.0.0, 23 Feb 2017

Recent releases

VersionPublished
1.2.326 Jan 2021
1.2.221 Jul 2020
1.2.11 May 2020
1.2.07 Apr 2020
1.1.73 Dec 2019
1.1.64 Sept 2019
1.1.514 Feb 2019
1.1.416 Jan 2019
1.1.32 Oct 2018
1.1.225 May 2018
1.1.117 May 2017
1.1.016 May 2017
1.0.428 Feb 2017
1.0.323 Feb 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
28 kB
Dependencies (0)
None
Peer dependencies (1)
eslint
npm install eslint-plugin-prefer-arrow
  • jsDelivrhttps://cdn.jsdelivr.net/npm/eslint-plugin-prefer-arrow@1.2.3/
  • unpkghttps://unpkg.com/eslint-plugin-prefer-arrow@1.2.3/
  • esm.shhttps://esm.sh/eslint-plugin-prefer-arrow@1.2.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@eslint/js103.9m-7 months agoCommonJS-
eslint-plugin-prefer-arrow-functions253k-1 month agoCommonJS-
eslint-plugin-no-null83.4k-10 years ago--
@unocss/eslint-plugin75k-8 days agoESM + CommonJS-
@typescript-eslint/eslint-plugin100.6m-3 days agoCommonJS-
@eslint/plugin-kit85m-21 days agoESM + CommonJS-
eslint-plugin-jest11.7m-25 days agoCommonJS-
eslint-plugin-perfectionist2.1m-todayESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.