"use strict";
let repl = require('repl');
let fullnode = require('../');
// Make all fullnode classes globally available.
for (let prop in fullnode) {
  global[prop] = fullnode[prop];
}
// And also, to easily view what things are available...
global['fullnode'] = fullnode;
repl.start({
  prompt: 'fullnode> ',
  useGlobal: true,
  ignoreUndefined: true
});

@@ -1,8 +1,28 @@
+#!/usr/bin/env node%0A
 %22use str
@@ -140,144 +140,50 @@
 e.%0Af
-or (let prop in fullnode) %7B%0A  global%5Bprop%5D = fullnode%5Bprop%5D;%0A%7D%0A// And also, to easily view what things are available...%0Aglobal%5B'
+ullnode.extend(global, fullnode, %7B
 fullnode
 '%5D =
@@ -182,12 +182,9 @@
 node
-'%5D =
+:
  ful
@@ -188,16 +188,18 @@
 fullnode
+%7D)
 ;%0Arepl.s

use extend in bin/fullnode.js; make executable