I give my time here because I get so much more in return.
Useful things I've written that might help you:
blinq: a modern typescript reimplementation of linq-to-objects over iterable objects
ts-bin-heap: A typescript binary-heap implementation. Very handy for priority queues, which in-turn are very useful for search algorithms such as A*.
Things I've written for other people: