← Back to blog

Show HN: dazl — catches null/undefined bugs before they hit review

Join free beta →

Show HN: dazl — catches null/undefined bugs before they hit review

We built dazl after shipping one too many Cannot read property 'x' of undefined crashes that a human reviewer should've caught but didn't.

It's a static check that runs before commit (no CI config, no server setup) and flags null-check gaps in the exact line they'd blow up on.

Before:

function getShippingLabel(order) {
  return order.customer.address.city.toUpperCase();
}

dazl flags this pre-commit:

order.customer.address.city — 'address' may be undefined
  (order.customer is optional per OrderSchema; no guard before .address access)

After:

function getShippingLabel(order) {
  if (!order.customer?.address) return null;
  return order.customer.address.city.toUpperCase();
}

It's a single binary, works with your existing pre-commit hook, and adds no latency to your normal git flow — no dashboard, no account required to try it.

We're indie developers ourselves, tired of null-check bugs slipping through fast-moving PRs with no time for thorough review. Would love feedback from anyone who's been burned by this class of bug — happy to set up a call or get you running in the next 10 minutes.

[link]

Distribute

Put this in front of founders and measure which channel brings real beta leads.

Hacker NewsRedditXLinkedIn