by the skin of one’s teeth

Definition: Narrowly; barely. Usually used in regard to a narrow escape from a disaster.

Discuss this Idiom in the comments below.