I'm still unsure how to add modularity while maintaining compatibility with CommonJS, AMD, etc.
I thought about adding a require statement such as:
require "vm"
require (
"util",
"io"
)
That would also support git repos, inspired by DuoJS (https://github.com/duojs/duo): require "alongubkin/phonertc"