lib/input-generators/index.js
function (input) {
    var result = {
      run: function () {
        return [];
      },
      __null: true
    },
    hasInput;

    if (input) {
      input = (""+input).replace(" ", "").toLowerCase();
      hasInput = input && input.charAt(0) !== '_' && input !== "index";
    }

    try {
      if (hasInput) {
        result = require( "./" + input);
      }
    } catch (e) {
      console.error("Input generator load failed '" + input + "'", e)
      /* return the "null" generator on error */
    }

    return result;
  }
function (input) {
    var result = {
      run: function () {
        return [];
      },
      __null: true
    },
    hasInput;

    if (input) {
      input = (""+input).replace(" ", "").toLowerCase();
      hasInput = input && input.charAt(0) !== '_' && input !== "index";
    }

    try {
      if (hasInput) {
        result = require( "./" + input);
      }
    } catch (e) {
      console.error("Input generator load failed '" + input + "'", e)
      /* return the "null" generator on error */
    }

    return result;
  }
create
Creates the input generator based on the input string, which must match a
js file in this directory.
So, if input === "robots", then executes require("./robots");
Unsupported input generator types return a "null" generator.

@param {String} input - The name of the input generator to create.
@returns {Object} The input generator, a null generator on error.