victorb/trymodule

Save/Restore session

Open

#11 opened on Mar 21, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (31 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,133 stars)
PR merge metrics
 (PR metrics pending)

Description

Something that would be useful to have is a save/restore functionality, where previous entered code and state can be restored in a future session.

  1. User enters trymodule lodash and repl opens with lodash installed
  2. User enters var something = lodash.repeat('WIN', 5)
  3. User enters save()
  4. User closes repl and opens it again with trymodule colors
  5. User enters restore()

And now something and lodash is available in the repl again.

Contributor guide