Skip to content

Commit 5112d35

Browse files
authored
docs: improve do
1 parent 0088dfc commit 5112d35

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
Copy files easily via JavaScript or the CLI, it uses [tinyglobby](https://www.npmjs.com/package/tinyglobby) internally for glob patterns and [yargs](https://www.npmjs.com/package/yargs) for the CLI.
1313

14-
The library is nearly the same as the [copyfiles](https://www.npmjs.com/package/copyfiles) package, it is however written with more native NodeJS APIs and less dependencies. The package options are exactly the same (except for `--soft` which is not implemented).
14+
The library is nearly the same as the [copyfiles](https://www.npmjs.com/package/copyfiles) package, it is however written with more native NodeJS code and less dependencies (3 instead of 7). The package options are exactly the same (except for `--soft` which is not implemented).
1515

1616
> There is 1 major difference though, any options must be provided after the command as a suffix (the original project had them as prefix)
1717
1818
### Install
1919

2020
```bash
21-
npm install native-copyfiles -g
21+
npm install native-copyfiles -D
2222
```
2323

2424
### Command Line
@@ -39,10 +39,10 @@ npm install native-copyfiles -g
3939
```
4040
4141
> [!NOTE]
42-
> Options **must** be provided after the command directories as a suffix (the original project had them as prefix)
42+
> Options **must** be provided after the command directories as suffix (the original project had them as prefix)
4343
4444
copy some files, give it a bunch of arguments, (which can include globs), the last one
45-
is the out directory (which it will create if necessary). Note: on windows globs must be **double quoted**, everybody else can quote however they please.
45+
is the out directory (which it will create if necessary). Note: on Windows globs must be **double quoted**, everybody else can quote however they please.
4646
4747
```bash
4848
copyfiles foo foobar foo/bar/*.js out
@@ -79,7 +79,7 @@ if your terminal doesn't support globstars then you can quote them
7979
copyfiles ./foo/**/*.txt out -f
8080
```
8181
82-
does not work by default on a mac
82+
does not work by default on a Mac
8383
8484
but
8585

0 commit comments

Comments
 (0)