Skip to content

Commit bee0fde

Browse files
committed
Refactor docs
1 parent 8014473 commit bee0fde

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 @@ But this helps when integrating with the rest of unified and unist.
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 unist-util-find-all-after
@@ -89,7 +89,7 @@ Yields:
8989

9090
## API
9191

92-
This package exports the identifier [`findAllAfter`][api-findallafter].
92+
This package exports the identifier [`findAllAfter`][api-find-all-after].
9393
There is no default export.
9494

9595
### `findAllAfter(parent, child|index[, test])`
@@ -119,10 +119,13 @@ It exports no additional types (types for the test are in `unist-util-is`).
119119

120120
## Compatibility
121121

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

127130
## Related
128131

@@ -179,9 +182,9 @@ abide by its terms.
179182

180183
[downloads]: https://www.npmjs.com/package/unist-util-find-all-after
181184

182-
[size-badge]: https://img.shields.io/bundlephobia/minzip/unist-util-find-all-after.svg
185+
[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=unist-util-find-all-after
183186

184-
[size]: https://bundlephobia.com/result?p=unist-util-find-all-after
187+
[size]: https://bundlejs.com/?q=unist-util-find-all-after
185188

186189
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
187190

@@ -219,4 +222,4 @@ abide by its terms.
219222

220223
[test]: https://github.com/syntax-tree/unist-util-is#test
221224

222-
[api-findallafter]: #findallafterparent-childindex-test
225+
[api-find-all-after]: #findallafterparent-childindex-test

0 commit comments

Comments
 (0)