Skip to content

unsegnor/priority

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published