|
1 |
| -:oden: [@aureooms/js-topological-sorting](https://make-github-pseudonymous-again.github.io/js-topological-sorting) |
| 1 | +:oden: [@graph-algorithm/topological-sorting](https://graph-algorithm.github.io/topological-sorting) |
2 | 2 | ==
|
3 | 3 |
|
4 | 4 | Topological sorting algorithms for JavaScript.
|
5 |
| -See [docs](https://make-github-pseudonymous-again.github.io/js-topological-sorting/index.html). |
| 5 | +See [docs](https://graph-algorithm.github.io/topological-sorting/index.html). |
6 | 6 |
|
7 | 7 | > :warning: The code requires `regeneratorRuntime` to be defined, for instance by importing
|
8 | 8 | > [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).
|
9 | 9 |
|
10 | 10 | ```js
|
11 | 11 | // Sort anything that can be iterated over with `for (const [u, v] of ...)`
|
12 |
| -import {sorted} from '@aureooms/js-topological-sorting'; |
| 12 | +import {sorted} from '@graph-algorithm/topological-sorting'; |
13 | 13 | sorted(["ab", "bc"]); // abc
|
14 | 14 |
|
15 | 15 | // Add a comparison function to break ties.
|
16 |
| -import {increasing} from '@aureooms/js-compare'; |
| 16 | +import {increasing} from '@total-order/primitive'; |
17 | 17 | sorted(["ab", "cd"], increasing); // abcd
|
18 | 18 |
|
19 |
| -import {decreasing} from '@aureooms/js-compare'; |
| 19 | +import {decreasing} from '@total-order/primitive'; |
20 | 20 | sorted(["ab", "cd"], decreasing); // cdab
|
21 | 21 | ```
|
22 | 22 |
|
23 |
| -[](https://raw.githubusercontent.com/make-github-pseudonymous-again/js-topological-sorting/main/LICENSE) |
24 |
| -[](https://www.npmjs.org/package/@aureooms/js-topological-sorting) |
25 |
| -[](https://github.com/make-github-pseudonymous-again/js-topological-sorting/actions/workflows/ci:test.yml?query=branch:main) |
26 |
| -[](https://david-dm.org/make-github-pseudonymous-again/js-topological-sorting) |
27 |
| -[](https://david-dm.org/make-github-pseudonymous-again/js-topological-sorting?type=dev) |
28 |
| -[](https://github.com/make-github-pseudonymous-again/js-topological-sorting/issues) |
29 |
| -[](https://www.npmjs.org/package/@aureooms/js-topological-sorting) |
| 23 | +[](https://raw.githubusercontent.com/graph-algorithm/topological-sorting/main/LICENSE) |
| 24 | +[](https://www.npmjs.org/package/@graph-algorithm/topological-sorting) |
| 25 | +[](https://github.com/graph-algorithm/topological-sorting/actions/workflows/ci:test.yml?query=branch:main) |
| 26 | +[](https://david-dm.org/graph-algorithm/topological-sorting) |
| 27 | +[](https://david-dm.org/graph-algorithm/topological-sorting?type=dev) |
| 28 | +[](https://github.com/graph-algorithm/topological-sorting/issues) |
| 29 | +[](https://www.npmjs.org/package/@graph-algorithm/topological-sorting) |
30 | 30 |
|
31 |
| -[](https://codeclimate.com/github/make-github-pseudonymous-again/js-topological-sorting/issues) |
32 |
| -[](https://codeclimate.com/github/make-github-pseudonymous-again/js-topological-sorting/trends/churn) |
33 |
| -[](https://codecov.io/gh/make-github-pseudonymous-again/js-topological-sorting) |
34 |
| -[](https://codeclimate.com/github/make-github-pseudonymous-again/js-topological-sorting/trends/technical_debt) |
35 |
| -[](https://make-github-pseudonymous-again.github.io/js-topological-sorting/source.html) |
36 |
| -[](https://bundlephobia.com/result?p=@aureooms/js-topological-sorting) |
| 31 | +[](https://codeclimate.com/github/graph-algorithm/topological-sorting/issues) |
| 32 | +[](https://codeclimate.com/github/graph-algorithm/topological-sorting/trends/churn) |
| 33 | +[](https://codecov.io/gh/graph-algorithm/topological-sorting) |
| 34 | +[](https://codeclimate.com/github/graph-algorithm/topological-sorting/trends/technical_debt) |
| 35 | +[](https://graph-algorithm.github.io/topological-sorting/source.html) |
| 36 | +[](https://bundlephobia.com/result?p=@graph-algorithm/topological-sorting) |
0 commit comments