危うく (あやうく) Japanese meaning | KotomoraMeanings
1
adverb
barely; narrowly
Used when a negative outcome was narrowly avoided; often followed by ところだった or a negative verb form.
He narrowly avoided an accident.
2
adverb
almost; nearly
Indicates that something came close to happening, often with a sense of relief that it did not; similar to もう少しで.