Skip to content

Commit

Permalink
chore: Documentation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
colin969 committed Sep 29, 2020
1 parent 7758a64 commit 0913758
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Contributing :heart:
Thanks for your interest! In order to keep the code coherent there are some
easy-to-follow rules.

* Use [StandrdJS](https://standardjs.com/)
* Write test for your modifications (use `mocha` and `chai` modules).
* Use [StandardJS](https://standardjs.com/)
* Write tests for your modifications (use `mocha` and `chai` modules).
* Keep the code coverage as high as possible (100% is awesome!)
* Unit test with `npm run test-unit-coverage` and check the result.
* Functionnal test with `npm run test-unit-func` and check the result.
* Functional test with `npm run test-unit-func` and check the result.
* Proudly add yourself to the contributors in `package.json`! :+1:
* Commit your changes using [Conventionnal Commits](https://www.conventionalcommits.org/)
* Commit your changes using [Conventional Commits](https://www.conventionalcommits.org/)
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You should have the a 7-Zip executable (v16.02 or greater) available in your sys
> By default the module calls the `7z` binary, it should be available in your
> PATH.
An alernative is to add the `7zip-bin` module to your project. This module
An alternative is to add the `7zip-bin` module to your project. This module
contains an up-to-date version of 7-Zip for all available plaforms. Then you
can do:

Expand All @@ -84,7 +84,7 @@ const seven = extractFull('./archive.7z', './output/dir/', {
### Commands

#### Add
Adds files to archive.
Adds files to an archive.

| Arguments | Type | Description |
|-----------|--------------------|-------------|
Expand All @@ -100,7 +100,7 @@ const myStream = Seven.add('Files.7z', '*.txt', {
```

#### Delete
Deletes files from archive.
Deletes files from an archive.

| Arguments | Type | Description |
|-----------|--------------------|-------------|
Expand Down Expand Up @@ -148,7 +148,7 @@ const myStream = Seven.extractFull('archive.zip', 'c:/soft', {
```

#### Hash
Calculate hash values for files.
Calculates hash values for files.

| Arguments | Type | Description |
|-----------|--------------------|-------------|
Expand All @@ -163,7 +163,7 @@ const myStream = Seven.hash('a.iso', {
```

#### List
Lists contents of archive.
Lists contents of an archive.

| Arguments | Type | Description |
|-----------|-------------------|-------------|
Expand All @@ -178,7 +178,7 @@ const myStream = Seven.list('archive.zip', {
```

#### Rename
Renames files in archive.
Renames files in an archive.

| Arguments | Type | Description |
|-----------|-------------------|-------------|
Expand Down Expand Up @@ -211,7 +211,7 @@ const myStream = Seven.list('archive.zip', {
```

#### Update
Update older files in the archive and add files that are not already in the archive.
Updates older files in the archive and adds files that are not already in the archive.

| Arguments | Type | Description |
|-----------|-------------------|-------------|
Expand Down Expand Up @@ -335,7 +335,7 @@ mySevenStream.on('error', function (err) {

### Compression method

Using the CLI, compression is made like that:
Using the CLI, compression is done like this:

```sh
# adds *.exe and *.dll files to solid archive archive.7z using LZMA method
Expand Down

0 comments on commit 0913758

Please sign in to comment.