Package
array.prototype.tosorted
An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.
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
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
- v1 first release 1.0.0, 31 Mar 2022
Recent releases
| Version | Published |
|---|---|
| 1.1.4 | 3 Jun 2024 |
| 1.1.3 | 5 Feb 2024 |
| 1.1.2 | 7 Sept 2023 |
| 1.1.1 | 4 Nov 2022 |
| 1.1.0 | 15 Aug 2022 |
| 1.0.0 | 31 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- jsDelivr
https://cdn.jsdelivr.net/npm/array.prototype.tosorted@1.1.4/ - unpkg
https://unpkg.com/array.prototype.tosorted@1.1.4/ - esm.sh
https://esm.sh/array.prototype.tosorted@1.1.4
Indexability: Indexed.