Start up script for node.js repl

Viewed 3905

Is there a way configure node.js's repl? I want to require jquery and underscore automatically whenever the repl starts. Is there a file (noderc?) that node.js loads when it starts the repl?

The equivalent in Python is to edit ~/.ipython/ipy_user_conf.py with:

import_mod('sys os datetime re itertools functools')
5 Answers
Related