We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e2718 commit 3e781a4Copy full SHA for 3e781a4
README.md
@@ -45,10 +45,10 @@ $ npm install unix-permissions
45
# Usage (JavaScript)
46
47
```js
48
-const unixPermissions = require('unix-permissions')
+const { convert } = require('unix-permissions')
49
50
// `permission` will be set to `rw-rw----`
51
-const permission = unixPermissions.convert.stat('660')
+const permission = convert.stat('660')
52
```
53
54
Several methods are available but they mostly follow the same pattern.
0 commit comments