code: function(line, index, lines) {
          var hasPipe = /^\s*\|\>/;
          var nextLine = lines[index + 1] || '';
  
          if (line.match(hasPipe)|| !nextLine.match(hasPipe)) {
            return line;
          }
          // handle wrapping returned values
          else if (line.match(/^\s*return/)) { // starts with return
            return line.replace(/^return (.+)/, function($0, $1) {
                return 'return _.chain(' + $1 +')';
            });
          }
          // handle wrapping assignments eg, foo = [1, 2, 3]
          else if (line.match(/^\s*[\w$]+\s+\=\s+/)) { // starts with `foo =`
            return line.replace(/(^\s*[\w$]+\s+\=\s+)(.+)/, function($0, $1, $2) {
                return $1 + '_.chain(' + $2 +')';
            });
          }
          else if (!!line.trim()) {
            return '_.chain(' + line + ')';
          }
          else {
            return line;
          }
      }
docs: wraps value to be piped with lodash #chain method returns String a -> String b