Skip to content
Permalink
Browse files

Reword

  • Loading branch information...
ehmicky committed Mar 14, 2019
1 parent bd0f7a1 commit b9e393633b3e3c4bdeead4783dc73bda3215bd6a
Showing with 4 additions and 7 deletions.
  1. +2 −4 README.md
  2. +1 −2 docs/API.md
  3. +1 −1 test/examples.js
@@ -60,8 +60,7 @@ myLibrary.method({ mode: 'a-wx' })
myLibrary.method({ mode: '444' })
```

Examples for each JavaScript command are available inside the
[`examples` directory](examples).
Please see the [`examples` directory](examples) for more JavaScript examples.

# Examples (CLI)

@@ -73,8 +72,7 @@ $ unix-permissions convert.symbolic "$(stat -c "%a" /etc/passwd)"
u=rw,go=r
```

Examples for each CLI command are available inside the
[`examples` directory](examples).
Please see the [`examples` directory](examples) for more CLI examples.

# Playground

@@ -4,8 +4,7 @@ All the following methods are available both in
[JavaScript](../README.md#usage-javascript) and on the
[command line](../README.md#usage-cli).

Examples for each command are available inside the
[`examples` directory](examples).
Please see the [`examples` directory](examples) for executable examples.

## convert.octal|number|stat|symbolic|object(permission)

@@ -17,7 +17,7 @@ const findUp = require('find-up')
// `package.json` `name` field
// TODO: add linting exceptions for `console.log()` inside `examples/**`
// (`gulp check`)
// TODO: recursive search on `example` directory
// TODO: recursive search on `example` directory.
// TODO: use `package.json` `directories.examples` folder first if defined.
// TODO: handle when file is not meant to be executed (no permission,
// or no shabang)

0 comments on commit b9e3936

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.