Warden is a tool for managing repository ownership.
Ownership of a specific area is signified by creating a .warden file in the folder, any subfolders are also owned by that warden, unless another .warden file exists.
Warden requires Node.js v4+ to run.
Then:
$ npm install --global repository-warden