from Hacker News

Show HN: Fancy Emitter, a Fresh Take on Node.js's Event Emitter

by mothepro on 1/8/20, 11:56 PM with 3 comments

  • by mothepro on 1/9/20, 12:05 AM

    I prefer TypeScript over plain JS and would like a strongly typed way for dealing with event emitters.

    So, I created fancy-emitter. I figured there are many other improvements which could have been made to the events module so I tried to make use of all of them and make the underlying JS engine deal with the scheduling.