Small thing but I dig the new --eval flag.
To do something like this in node, I used to do:
(echo 2+2; cat -) | node -i
Which would generate some stdin via echo, then use cat to feed stdin to node. --eval 2+2 is a blissfully elegant upgrade to this.As a comment points out, node has a '-e' (and a -p which prints the evalled thing) but does not open a repl after. This shell receipt, like --eval, leaves the repl open.