Skip to content

Commit 3e781a4

Browse files
committed
Update README
1 parent b0e2718 commit 3e781a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ $ npm install unix-permissions
4545
# Usage (JavaScript)
4646

4747
```js
48-
const unixPermissions = require('unix-permissions')
48+
const { convert } = require('unix-permissions')
4949

5050
// `permission` will be set to `rw-rw----`
51-
const permission = unixPermissions.convert.stat('660')
51+
const permission = convert.stat('660')
5252
```
5353

5454
Several methods are available but they mostly follow the same pattern.

0 commit comments

Comments
 (0)