Nalmefene, a medication approved to reverse opioid overdoses, works similarly to naloxone.