index.js
function(string, options) {
      options = options || {};
      var separator = options.separator || '_';
      var split = options.split || /(?=[A-Z])/;

      return string.split(split).join(separator);
    }
function(string, options) {
      options = options || {};
      var separator = options.separator || '_';
      var split = options.split || /(?=[A-Z])/;

      return string.split(split).join(separator);
    }
function ( string , options ) { options = options || { } ; var separator = options . separator || '_' ; var split = options . split || / (?=[A-Z]) / ; return string . split ( split ) . join ( separator ) ; }
String conversion methods
String conversion methods