Skip to content

Commit 90ed9db

Browse files
committed
Refactor docs
1 parent be23fdf commit 90ed9db

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

readme.md

Lines changed: 9 additions & 6 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-before
@@ -117,10 +117,13 @@ It exports no additional types (types for the test are in `unist-util-is`).
117117

118118
## Compatibility
119119

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

125128
## Related
126129

@@ -175,9 +178,9 @@ abide by its terms.
175178

176179
[downloads]: https://www.npmjs.com/package/unist-util-find-before
177180

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

180-
[size]: https://bundlephobia.com/result?p=unist-util-find-before
183+
[size]: https://bundlejs.com/?q=unist-util-find-before
181184

182185
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
183186

0 commit comments

Comments
 (0)