Skip to content
JS
Package

toposort

Topological sort of directed ascyclic graphs (like dependecy lists)

v2.0.2, 28 Apr 2018MITCommonJSTypes: None
$ npm install toposort

Key numbers

As of 25 Sept 2026
Weekly downloads
9m
+24% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v2.0.2
GitHub stars
311
37 forks
Open issues / PRs
3 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 12.4m (18 Aug 2026)Low 4.4m (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.

8,989,101 downloads last week, 42,941,938 in the last month. The 12-month change of +24% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
022 in total
Latest version
2.0.2, 28 Apr 20188 years ago
First published
2 Nov 2012
Last push to GitHub
10 Jul 20231,172 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
567

Major versions

  1. v2 first release 2.0.1, 28 Apr 2018
  2. v1 first release 1.0.0, 13 May 2016
  3. v0 first release 0.1.0, 2 Nov 2012

Recent releases

VersionPublished
2.0.228 Apr 2018
2.0.128 Apr 2018
1.0.728 Apr 2018
1.0.62 Oct 2017
1.0.52 Oct 2017
1.0.426 Sept 2017
1.0.314 Feb 2017
1.0.228 Jan 2017
1.0.128 Jan 2017
1.0.013 May 2016
0.2.1224 Aug 2015
0.2.1015 Sept 2013
0.2.910 Apr 2013
0.2.819 Feb 2013
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (0)
None
npm install toposort

CDN

jsDelivr: 652.9k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/toposort@2.0.2/
  • unpkghttps://unpkg.com/toposort@2.0.2/
  • esm.shhttps://esm.sh/toposort@2.0.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

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