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.