top-level-git
v1.0.1
Published
A dead simple wrapper of `git rev-parse --show-toplevel`
Downloads
5
Readme
top-level-git
A dead simple wrapper of git rev-parse --show-toplevel
Usage
import topLevelGit from "top-level-git";
await topLevelGit(); // => "/path/to/your/top/repo"