Skip to content

Commit

Permalink
Merge pull request #90 from bensteinberg/copyedit-20240311
Browse files Browse the repository at this point in the history
Copyediting
  • Loading branch information
bensteinberg committed Mar 11, 2024
2 parents 3d97d85 + a450620 commit 6fcf020
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -82,7 +82,7 @@ js-wacz create --file "collection/*.warc"

### --output, -o

Allows to specify where the resulting `.wacz` file should be created, and what its filename should be.
Specify where the resulting `.wacz` file should be created, and what its filename should be.

Defaults to `archive.wacz` in the current directory if not provided.

Expand All @@ -92,7 +92,7 @@ js-wacz create --file cool-beans.warc --output cool-beans.wacz

### --pages, -p

Allows to pass a specific [pages.jsonl](https://specs.webrecorder.net/wacz/1.1.1/#pages-jsonl) file.
Pass a specific [pages.jsonl](https://specs.webrecorder.net/wacz/1.1.1/#pages-jsonl) file.

If not provided, **js-wacz** is going to attempt to detect pages in WARC records to build its own `pages.jsonl` index.

Expand All @@ -102,7 +102,7 @@ js-wacz create -f "collection/*.warc.gz" --pages collection/pages.jsonl

### --cdxj

Allows to pass a directory of existing CDXJ files, rather than indexing from WARCs. Must be used in combination with `--pages`.
Pass a directory of existing CDXJ files, rather than indexing from WARCs. Must be used in combination with `--pages`.

```bash
js-wacz create -f "collection/*.warc.gz" --pages collection/pages.jsonl --cdxj collection/indexes/
Expand Down
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -763,7 +763,7 @@ export class WACZ {
}

/**
* Allows to manually add an entry for pages.jsonl.
* Manually add an entry for pages.jsonl.
* Entries will be added to `this.pagesTree`.
* Calling this method automatically turns pages detection off.
* @param {string} url - Must be a valid url
Expand Down Expand Up @@ -805,7 +805,7 @@ export class WACZ {
}

/**
* Allows to manually add a CDJX entry to `this.cdxTree`.
* Manually add a CDJX entry to `this.cdxTree`.
* Calling this method automatically turns indexing from WARCS off.
* @param {string} cdjx - CDJX as string
* @returns {Promise<void>}
Expand Down

0 comments on commit 6fcf020

Please sign in to comment.