benbria / bunyan-debug-stream

A stream for bunyan that writes log entries as human readable output.
MIT License
30 stars 9 forks source link

typescript definitions #16

Open techieshark opened 4 years ago

techieshark commented 4 years ago

Hi, thanks for the great library.

I see that it's written in CoffeeScript but I wonder if anyone is using this with TypeScript and has TS definitions? (Or if the author has looked into how possible it might be to provide type definitions in either TypeScript or Flow?)

In case it helps, here's this (disclaimer: I just found via google search): https://www.npmjs.com/package/coffee-script-to-typescript

jwalton commented 4 years ago

I would happily accept a PR for a .d.ts file, or even a rewrite in typescript. (I started to rewrite this in typescript a while back, but then I rewrote it for Winston instead: https://github.com/jwalton/winston-format-debug :)

techieshark commented 4 years ago

@jwalton oh, cool. I might take a look at the winston project. Thanks much!