Skip to content
JS
Package

array.prototype.indexof

An ES2015 spec-compliant `Array.prototype.indexOf` shim/polyfill/replacement that works as far down as ES3.

v1.0.8, 20 Dec 2024MITCommonJSTypes: NonePolyfills and shims
$ npm install array.prototype.indexof

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6kSept 2025Mar 2026Sept 2026High 5.6k (21 Apr 2026)Low 520 (30 Jun 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,341 downloads last week, 7,044 in the last month. The 12-month change of -28% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.8, 20 Dec 20241 year ago
First published
-
Last push to GitHub
30 Dec 2025269 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
25 kB
Dependencies (7)
call-bindis-stringcall-boundes-abstractes-object-atomsis-negative-zerodefine-properties
npm install array.prototype.indexof
  • jsDelivrhttps://cdn.jsdelivr.net/npm/array.prototype.indexof@1.0.8/
  • unpkghttps://unpkg.com/array.prototype.indexof@1.0.8/
  • esm.shhttps://esm.sh/array.prototype.indexof@1.0.8
PackageWeekly downloadsGzipLast releaseModuleComparison
object-keys79.8m-7 years agoCommonJS-
weakmap-polyfill1m-5 years agoCommonJS-
@thednp/dommatrix182k-22 days agoESM + CommonJS-
map-like23.5k-9 years agoCommonJS-
object_values18k-9 years agoCommonJS-
array-buffer-byte-length63.3m-1 year agoCommonJS-
ie-array-find-polyfill8.6k-9 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2341 < 10000.