is-owner
v1.0.2
Published
Check whether the current process owns a given file or directory.
Downloads
2
Maintainers
Readme
is-owner
Check whether the current process owns a given file or directory.
Installation
npm i is-owner
Usage
import isOwner from 'is-owner'
isOwner('/etc/passwd') // Returns true or false depending on ownership.