79363105

Date: 2025-01-16 21:35:36
Score: 0.5
Natty:
Report link

This can now be achieved using onError:

const doc = new dom({
    onError: (level: 'warning' | 'error' | 'fatalError', msg: string) => {
      if (level === 'fatalError') {
        console.error(msg);
      }
    },
}).parseFromString(body);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Burns