Skip to content
JS
Package

array.prototype.tosorted

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

v1.1.4, 3 Jun 2024MITCommonJSTypes: NonePolyfills and shims
$ npm install array.prototype.tosorted

Key numbers

As of 25 Sept 2026
Weekly downloads
42m
+117% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
2 years ago
v1.1.4
GitHub stars
10
1 forks
Open issues / PRs
2 / 0
Contributors
2
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 56m (25 Aug 2026)Low 13.8m (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.

41,954,618 downloads last week, 204,783,275 in the last month. The 12-month change of +117% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
1.1.4, 3 Jun 20242 years ago
First published
31 Mar 2022
Last push to GitHub
3 Jun 2024844 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
700

Major versions

  1. v1 first release 1.0.0, 31 Mar 2022

Recent releases

VersionPublished
1.1.43 Jun 2024
1.1.35 Feb 2024
1.1.27 Sept 2023
1.1.14 Nov 2022
1.1.015 Aug 2022
1.0.031 Mar 2022
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (5)
call-bindes-errorses-abstractdefine-propertieses-shim-unscopables
npm install array.prototype.tosorted
  • jsDelivrhttps://cdn.jsdelivr.net/npm/array.prototype.tosorted@1.1.4/
  • unpkghttps://unpkg.com/array.prototype.tosorted@1.1.4/
  • esm.shhttps://esm.sh/array.prototype.tosorted@1.1.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.