repl
repl copied to clipboard
REPL rewrite for Node.js ✨🐢🚀✨
Adds support for ts syntax highlighting to REPL input issue requested in https://github.com/TypeStrong/ts-node/issues/1150 repository ## Proposed Changes - change to TS files highlight => `emphasize.highlight('ts', s, sheet).value;`
Hey @devsnek I worked on the item : https://github.com/nodejs/repl/issues/6 This should be the beginning for adding test cases for repl 👍 Have a look and let me know we can...
:wave: Hi @devsnek. I'm curious what the status of this project is – I've been poking around improving the existing node REPL a bit, and came across this repo. Is...
Currently node's repl is pretty painful when dealing with multiline expressions/statements like: ```js Point = class { x; y; constructor(x, y) { this.x = x; this.yy = y; } }...
This is a feature I've been eagerly searching for in a Node REPL. I have found [readline-vim](https://github.com/thlorenz/readline-vim), which provides Vim keybindings support for the readline module, but it doesn't look...
node's default repl can autocomplete in a `require('` I might give it a try
https://github.com/devsnek/node-repl-prototype/blob/5e72bed5a127c0b3e1c7289d75c3eb157db43522/src/repl.js#L146-L149 `getProperties` doesn't allow any sort of timeout, so it will take forever for an object like `Array(1000000).fill(0)`
Still trying to find a reliable way to reproduce but this has happened a few times.
``` Version: Node.js 17.6.0 (V8 9.6.180.15-node.13) on iTerm2, Build 3.4.16. System: Darwin MacPro.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64 ``` It's exactly the...