Skip to content

Commit cfc1d3d

Browse files
committed
Improve Node.js documentation clarity
1 parent 8b9a837 commit cfc1d3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/api/node.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ weight: 1
55

66
# Node.js module
77

8-
As a Node module dependency, the engine exposes a JavaScript API that can be called in your own code. The following modules are available.
8+
As a Node module dependency, the engine exposes a JavaScript API that can be called in your own code.
99

1010
## `fetch`
1111

12-
The `fetch` module gets the MIME type and content of a document from its URL
12+
`fetch` gets the MIME type and content of a document from its URL
1313

1414
```js
1515
import fetch from '@opentermsarchive/engine/fetch';
@@ -31,11 +31,11 @@ await fetch({ executeClientScripts: true, ... });
3131
await stopHeadlessBrowser();
3232
```
3333

34-
The `fetch` module options are defined as a [`node-config` submodule](https://github.com/node-config/node-config/wiki/Sub-Module-Configuration). The default `fetcher` configuration can be overridden by adding a `fetcher` object to the local configuration file.
34+
The `fetch` options are defined as a [`node-config` submodule](https://github.com/node-config/node-config/wiki/Sub-Module-Configuration). The default `fetcher` configuration can be overridden by adding a `fetcher` object to the local configuration file.
3535

3636
## `extract`
3737

38-
The `extract` module transforms HTML or PDF content into a Markdown string according to a declaration.
38+
`extract` transforms HTML or PDF content into a Markdown string according to a declaration.
3939

4040
```js
4141
import extract from '@opentermsarchive/engine/extract';

0 commit comments

Comments
 (0)