彼女はもう少しでホームから落ちそうだった。

English Translation

She came close to falling off the platform.

FYI: ホーム is used only for a platform at a railway station. You cannot use it for bus terminals, airplane platforms etc.