This is a JavaScript implementation of the algorithms composing GTFSCompress by Sebastian Wandelt, Xiaoqian Sun and Yanbo Zhu.
I'm in no way affiliated to the authors of the paper.
Time.js — Provides the class Time to operate over only time values, which is not possible with the Date class.
gtfscompress.js — Provides the functions implementing the algorithims described in the paper.