replpad by thlorenz

1 min read Original article ↗

replpad

Pipes content of files to a node repl whenever they change to enable a highly interactive coding experience.

Adds keymaps, doc access, vim binding and maps and prints highlighted source of functions right in the repl.

tty

Feature Demo

This video shows most of replpad's features in under 4 minutes.

dox and src

This video shows how to use dox() function and src property to do the following right from the repl:

  • access core module funcion documentation
  • access installed module readmes
  • print a function's source code including comments and/or jsdocs along with the file and location where the function was defined

.pack command

This tutorial shows how to use the .pack command in order to add all dependencies defined in your package.json to the repl context.

File Interaction Tutorial

This tutorial shows how to pipe file content into the repl when the file is saved and how to append lines back to the file.