Fetching details from the dictionary...
almost; nearly
すんでに車くるまにぶつかるところだった。
I nearly got hit by a car.
すんでに電話でんわを忘れわすれそう。
I nearly forgot the phone.
すんでに電車でんしゃに乗りのり遅れおくれそうになった。
I very nearly missed the train.