prioritizer

2.2.38 • Public • Published

Prioritizer

Prioritize a list trying to minimize the number of comparisons

Create a prioritized list, inject the asynchronous comparison method, start adding items and at some point get them prioritized as an array

Check tests/tests.spec.js for examples of usage

Demo

To check a demo of the logic run

node demo

Run all tests

npm test

Package Sidebar

Install

npm i prioritizer

Weekly Downloads

145

Version

2.2.38

License

GPL-3.0-or-later

Unpacked Size

81.4 kB

Total Files

37

Last publish

Collaborators

  • vcalatayud