is-owner

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i is-owner

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

1.83 kB

Total Files

4

Last publish

Collaborators

  • oelin