Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
save and restore nodejs REPL session

I want to save the nodejs repl session to file. And from the file I can restore the status of that session, including user defined global variables and functions.

For example, if I type

a=1;b={x:1};b.__proto__={y:2};f=()=>{console.log(1)};

I want to save the session to a file and when restored the session from it, I can get a session with 3 global variables a,b,f, which have been properly set.

UPDATE 1

Different from node REPL's .save command and .load command, what I want is the current user defined global variables and functions properly Serialized and Deserialized.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!