Skip to content
JS
Package

thenby

Micro library for sorting arrays using the firstBy().thenBy().thenBy() syntax

v1.4.1, 20 Apr 2026Apache-2.0ESM + CommonJSTypes: Bundled
$ npm install thenby

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.5m (5 May 2026)Low 417.6k (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.

918,758 downloads last week, 4,675,481 in the last month. The 12-month change of +21% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
317 in total
Latest version
1.4.1, 20 Apr 20265 months ago
First published
20 Feb 2014
Last push to GitHub
20 Apr 2026157 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
5
Dependents on npm
-

Major versions

  1. v1 first release 1.1.2, 3 Jan 2016

Recent releases

VersionPublished
1.4.120 Apr 2026
1.4.010 Apr 2026
1.3.510 Apr 2026
1.3.44 Jul 2020
1.3.35 Jun 2020
1.3.220 Apr 2020
1.3.119 Apr 2020
1.3.028 Jul 2018
1.2.61 Jul 2018
1.2.54 Jun 2018
1.2.44 Jun 2018
1.2.38 Dec 2016
1.2.28 Dec 2016
1.2.118 May 2016
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
29 kB
Dependencies (0)
None
npm install thenby
  • jsDelivrhttps://cdn.jsdelivr.net/npm/thenby@1.4.1/
  • unpkghttps://unpkg.com/thenby@1.4.1/
  • esm.shhttps://esm.sh/thenby@1.4.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.