prioritizer
v2.2.71
Published
Method to prioritize a list with persistence
Downloads
352
Maintainers
Readme
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