kp-priority-queue

1.0.0 • Public • Published

npm Bower build

How To Use

PriorityQueue

var p = new PriorityQueue();

let item = {
    priority:number,
    data:any;
}

p.enqueue(item);
p.dequeue();
p.top();
p.remove(data);
p.count();
p.isEmpty();
p.clear();
p.getQueue();

How To Test And Dev

npm install

// test
karma start

// dev
webpack --watch

/kp-priority-queue/

    Package Sidebar

    Install

    npm i kp-priority-queue

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • kittencup