gameclosure/js.io — pull request #27 by fairfieldt (2012-07-20 07:45:11+00:00)
Title: js.io as a npm package

I started using js.io in a node commandline utility. It turns out it would be nice if it were an npm package.

This also adds a nice repl (supports all of the preprocessing stuff so I can type 'import foo.bar' into the repl) and jsio_compile to $PATH if you install with -g.

Comments appreciated!

adding package.json so js.io can be used with npm
This way jsio can be used as a node module:

require('jsio');

Or (if you install globally) a commandline repl:

$ jsio
js.io repl starting

>.

Installing with -g will also install jsio_compile

$ jsio_compile