Skip to content

Instantly share code, notes, and snippets.

@creationix
Created February 10, 2010 05:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creationix/300066 to your computer and use it in GitHub Desktop.
Save creationix/300066 to your computer and use it in GitHub Desktop.
// Hook for initial modules.
if (typeof load === 'undefined') { process.mixin(require('creationix'));}
load({
sys: 'sys',
posix: 'posix'
})(function (imports, export) {
imports.sys.puts("Hello");
export(/123/g);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment