restOfLineFollowing = (data, { param: afterStr }) => {
  if (data == null) { return undefined; }
  const start = data.indexOf(afterStr) + afterStr.length;
  const leftover = data.slice(start);
  const end = leftover.indexOf('\n');
  return data.slice(start, end + start);
}
A post processor

Post processors are used to transform values for display in tidbits.
@typedef PostProcessor
@type {string|Object<string,*>}