nodejs-repl-rp

repl-rp

This project is helps you playback your Nodejs repl history like a video file or a memory. You would be able to every Nodejs repl command and play them back in relative time. During plaback, you would be able to pause and run other commands in the environment like a simulation. As of the time of writing, there is no other public Nodejs libraries that provide functionality like this out of the box. You can check out the code on NPM and Github. I started developing this because of the konduktiva project required a way to save the Konduktiva MusicalEnvironment into a file. I misunderstood what, Renick Bell, the original author of Konduktiva had requested for. That caused me to spend a lot of time experimenting with eval in Nodejs because I could not find other projects readily available that suited the requirements I misunderstood.

Currently, the playback time uses setTimeout but I plan to add an option to use the Konduktiva scheduler which is more time accurate.

  • nodejs-repl-rp.txt
  • Last modified: 2024/06/20 20:35
  • by steve.wang