As of version 0.4, injectr doesn't create a full node.js context for you to
use. Instead, it isolates your script in its own sandbox, allowing you to
include mocks of only the bits that your script needs.

CoffeeScript

injectr compiles any *.coffee files for you, so you can test your
CoffeeScript too. The default settings can be changed by overwriting the
injectr.onload function. It takes the filename and file contents as
arguments, and returns the compiled script.