Skip to content

Commit d86ac06

Browse files
committed
Refactor docs
1 parent 44a4900 commit d86ac06

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

readme.md

Lines changed: 11 additions & 8 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 14.14+ and 16.0+), install with [npm][]:
41+
In Node.js (version 16+), install with [npm][]:
4242

4343
```sh
4444
npm install hast-util-interactive
@@ -87,7 +87,7 @@ interactive({
8787

8888
## API
8989

90-
This package exports the identifier [`interactive`][interactive].
90+
This package exports the identifier [`interactive`][api-interactive].
9191
There is no default export.
9292

9393
### `interactive(node)`
@@ -121,10 +121,13 @@ It exports no additional types.
121121

122122
## Compatibility
123123

124-
Projects maintained by the unified collective are compatible with all maintained
124+
Projects maintained by the unified collective are compatible with maintained
125125
versions of Node.js.
126-
As of now, that is Node.js 14.14+ and 16.0+.
127-
Our projects sometimes work with older versions, but this is not guaranteed.
126+
127+
When we cut a new major release, we drop support for unmaintained versions of
128+
Node.
129+
This means we try to keep the current release line, `hast-util-interactive@^2`,
130+
compatible with Node.js 12.
128131

129132
## Security
130133

@@ -192,9 +195,9 @@ abide by its terms.
192195

193196
[downloads]: https://www.npmjs.com/package/hast-util-interactive
194197

195-
[size-badge]: https://img.shields.io/bundlephobia/minzip/hast-util-interactive.svg
198+
[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=hast-util-interactive
196199

197-
[size]: https://bundlephobia.com/result?p=hast-util-interactive
200+
[size]: https://bundlejs.com/?q=hast-util-interactive
198201

199202
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
200203

@@ -236,4 +239,4 @@ abide by its terms.
236239

237240
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
238241

239-
[interactive]: #interactivenode
242+
[api-interactive]: #interactivenode

0 commit comments

Comments
 (0)