Stale
This page has gone stale. It's not completely old and out of date but some of the ideas expressed here have been changed in favor of other ideas.
ServerJS will be implemented in the future using a banana. To put code inside of a ServerJS environment one would import the serverjs banana and any code within that scope will have access to the ServerJS APIs.
For example:
1 with(banana('serverjs') {
2 require('file').touch('tmp.txt');
3 }