require-to-json

Require a JavaScript file and print JSON result to stdout

eval-to-json

Evaluate a JavaScript expression and print JSON output