What is the meaning of [By the Skin of One’s Teeth]

Barely escaping disaster