What is REPL and how to use it
Customized Node.js Read-Eval-Print-Loop (REPL). With Vim support, extra colorful icons, Day.js and custom pack of functional programming utils
git clone https://github.com/Lothering0/repl
cd repl
npm i
# in repl directory
node index.js
In your .bashrc
or .zshrc
add:
alias js="node <path-to-repl-dir>/index.js"
And then you can start a REPL session with command js
:
js