grammy currently has debug as one of its dependecies. I suggest to take a look at obug (https://www.npmjs.com/package/obug?activeTab=readme), which is a drop-in replacement for debug, has 0 dependencies and better performance.
I will submit a PR if this is something you might consider.