barely

Definition

Hardly; only just; by the narrowest margin.

Example

"He barely passed the exam after studying all night."