ivanseidel / ivanseidel/node-draftlog

Compatibility with Node repl module?

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
33
PR merge metrics
No merged PRs in 30d

Description

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 = console.draft('Starting REPL...')
repl.start({prompt:update})

And the output looks like this: https://asciinema.org/a/U0y4BMlqxMlhQLE2QE1szHiFi

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the provided Node REPL example with draftlog and compare its output with a normal REPL session. Read the draftlog entry point and Node's repl behavior to identify the compatibility boundary. Done means the example displays each command's output correctly on the same line without breaking REPL interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.