Skip to content

Commit bb9590d

Browse files
committed
Add improved docs
1 parent 5a690b8 commit bb9590d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

readme.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ looking for!
3838
## Install
3939

4040
This package is [ESM only][esm].
41-
In Node.js (version 12.20+, 14.14+, 16.0+, or 18.0+), install with [npm][]:
41+
In Node.js (version 14.14+ and 16.0+), install with [npm][]:
4242

4343
```sh
4444
npm install hast-util-whitespace
@@ -82,7 +82,7 @@ whitespace({
8282

8383
## API
8484

85-
This package exports the identifier `whitespace`.
85+
This package exports the identifier [`whitespace`][whitespace].
8686
There is no default export.
8787

8888
### `whitespace(thing)`
@@ -111,7 +111,7 @@ It exports no additional types.
111111

112112
Projects maintained by the unified collective are compatible with all maintained
113113
versions of Node.js.
114-
As of now, that is Node.js 12.20+, 14.14+, 16.0+, and 18.0+.
114+
As of now, that is Node.js 14.14+ and 16.0+.
115115
Our projects sometimes work with older versions, but this is not guaranteed.
116116

117117
## Security
@@ -223,3 +223,5 @@ abide by its terms.
223223
[text]: https://github.com/syntax-tree/hast#text
224224

225225
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
226+
227+
[whitespace]: #whitespacething

0 commit comments

Comments
 (0)