Steven Loria github.com

Making the Node.js REPL more productive

Project-specific REPLs for Node.js

I’m a bit surprised this functionality isn’t in the box, nonetheless:

local-repl saves you from typing out imports every time you open a new Node.js REPL. You specify the modules and objects that you want to automatically import in either package.json or .replrc.js.

It also lets you use await in the REPL without wrapping your code in async functions. That sounds quite nice.

Source: https://github.com/sloria/local-repl


No comments

Sign in or join to comment

0:00 / 0:00