Executing Javascript without a browser?

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-05-31T04:48:32Z Indexed on 2010/05/31 4:52 UTC
Read the original article Hit count: 378

I am looking into Javascript programming without a browser. I want to run scripts from the Linux or Mac OS X command line, much like we run any other scripting language (ruby, php, perl, python...)

$ javascript my_javascript_code.js

I looked into spider monkey (Mozilla) and v8 (Google), but both of these appear to be embedded.

Is anyone using Javascript as a scripting language to be executed from the command line?

If anyone is curious why I am looking into this, I've been poking around node.js

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-execution