危なく
1
nearly;almost;on the point of (doing)
危なく車にひかれるところだった。
I was nearly run over by a car.
Shirabe