index.js
function getCharacterList(options) {
    var regen = regenerate();
    var include = options.include;

    for (var i in include) {
      for (var j in include[i].chars) {
        // There should always be a 0th-index element
        if (include[i].chars[j][0] === undefined) {
          continue;
        }

        regen = addCharacters(regen, include[i].chars[j]);
      }
    }

    removeCharacters(regen, options.exclude);

    return regen.valueOf();
  }
function getCharacterList(options) {
    var regen = regenerate();
    var include = options.include;

    for (var i in include) {
      for (var j in include[i].chars) {
        // There should always be a 0th-index element
        if (include[i].chars[j][0] === undefined) {
          continue;
        }

        regen = addCharacters(regen, include[i].chars[j]);
      }
    }

    removeCharacters(regen, options.exclude);

    return regen.valueOf();
  }
function getCharacterList ( options ) { var regen = regenerate ( ) ; var include = options . include ; for ( var i in include ) { for ( var j in include [ i ] . chars ) { // There should always be a 0th-index element if ( include [ i ] . chars [ j ] [ 0 ] === undefined ) { continue ; } regen = addCharacters ( regen , include [ i ] . chars [ j ] ) ; } } removeCharacters ( regen , options . exclude ) ; return regen . valueOf ( ) ; }
Retrieves a complete list of all characters from the given options

@param {Object} options An Object containing:
- include (optional) - An Object containing an Array of Objects, each of which contain:
- chars - An Array containing an Array of 1 character per index:
- 0 - A single character, hex character, or unicode character.
This may be a single character to include, or the beginning of a
range of characters to include
- 1 - A single character, hex character, or unicode character.
This must be the end of the range of the characters to include.
- min (optional) - An Integer representing the minimum number of
characters from the 'chars' set that *must* be included in the generated
string
- exclude (optional) - An Object containing an Array of Objects, each of which contain:
- chars - An Array containing an Array of 1 character per index:
- 0 - A single character, hex character, or unicode character.
This may be a single character to exclude, or the beginning of a
range of characters to exclude
- 1 - A single character, hex character, or unicode character.
This must be the end of the range of the characters to exclude.
@returns {Array} an array of characters
Retrieves a complete list of all characters from the given options