node-draftlog icon indicating copy to clipboard operation
node-draftlog copied to clipboard

📜 Create mutable log lines into the terminal, and give life to your logs!

Results 9 node-draftlog issues
Sort by recently updated
recently updated
newest added

When I run my timer for long enough, it seems to fail to re-render the line resulting in bizzare spelling issues that gradually become gibberish for each update. When the...

https://github.com/ivanseidel/node-draftlog/issues/7

Because this module extends functionality of Console, the following is required to avoid typescript complaining about missing "draft" function: ```ts interface Console { draft: (a) => (b) => {} }...

Let's say I have codes like this below: ``` let a = console.draft(' ') let b = console.draft('') setInterval(() => { a('something') b('something') }, 1000) ``` It only shows `a`...

Here's a naive attempt at writing a Node REPL which shows the output of each command on the same line every time: const repl = require('repl') require('draftlog').into(console) const update =...

`DraftLog` works. The API is simple. I want to keep it that way, but it might be improved with a few ideas. Please, contribute by giving your insights, ideas and...

Today I ran into this library for the first time, and thought it was great! I just saw a few easy fixes for spelling. So, I opened each file using...

I have setup a minimal example with bun.sh: ```js const DraftLog = require('draftlog') DraftLog(console) var update = console.draft('Hi, my name is') console.log('Something else') new Promise(resolve => setTimeout(resolve, 1000)).then(() => {...