script for working with the api in the node console
add repl.history module
add streaming download method