title: Interacting with app code in the node REPL
body: <p>One of the pleasures of frameworks like Rails is being able to interact with models on the command line. Being very new to node.js, I often find myself pasting chunks of app code into the REPL to play with objects. It's dirty.</p>
  
  <p>Is there a magic bullet that more experienced node developers use to get access to their app specific stuff from within the <code>node</code> prompt? Would a solution be to package up the whole app, or parts of the app, into modules to be <code>require()</code>d? I'm still living in one-big-ol'-file land, so pulling everything out is, while inevitable, a little daunting.</p>
  
  <p>Thanks in advance for any helpful hints you can offer!</p>