index.html 379 Bytes
<html>
<body>
<p>
  Run <code>bundle.sh</code>, then bring up your JavaScript console and call <code>defs</code>
</p>
<script src="defs_bundle.js"></script>
<script>
  var defs = require("./defs-main");

  // The bundle can be loaded in node like this, for test purposes:
  // var defs = eval(String(fs.readFileSync("./defs_bundle.js")))("./defs-main")
</script>
</body>
</html>