I'll add in constants to MongoClient defining those read preferences as below. 

const RP_PRIMARY   = 'primary';
  const RP_PRIMARY_PREFERRED = 'primaryPreferred';
  const RP_SECONDARY = 'secondary';
  const RP_SECONDARY_PREFERRED = 'secondaryPreferred';
  const RP_NEAREST   = 'nearest';