@@ -40,7 +40,7 @@ node when working with xast (XML).
40
40
## Install
41
41
42
42
This package is [ ESM only] [ esm ] .
43
- In Node.js (version 14.14+ and 16.0 +), install with [ npm] [ ] :
43
+ In Node.js (version 16 +), install with [ npm] [ ] :
44
44
45
45
``` sh
46
46
npm install xast-util-to-string
@@ -89,7 +89,7 @@ A Christmas CarolCharles Dickens
89
89
90
90
## API
91
91
92
- This package exports the identifier [ ` toString ` ] [ tostring ] .
92
+ This package exports the identifier [ ` toString ` ] [ api-to-string ] .
93
93
There is no default export.
94
94
95
95
### ` toString(node) `
@@ -112,10 +112,13 @@ It exports no additional types.
112
112
113
113
## Compatibility
114
114
115
- Projects maintained by the unified collective are compatible with all maintained
115
+ Projects maintained by the unified collective are compatible with maintained
116
116
versions of Node.js.
117
- As of now, that is Node.js 14.14+ and 16.0+.
118
- Our projects sometimes work with older versions, but this is not guaranteed.
117
+
118
+ When we cut a new major release, we drop support for unmaintained versions of
119
+ Node.
120
+ This means we try to keep the current release line, ` xast-util-to-string@^2 ` ,
121
+ compatible with Node.js 12.
119
122
120
123
## Security
121
124
@@ -163,9 +166,9 @@ abide by its terms.
163
166
164
167
[ downloads ] : https://www.npmjs.com/package/xast-util-to-string
165
168
166
- [ size-badge ] : https://img.shields.io/bundlephobia/minzip/ xast-util-to-string.svg
169
+ [ size-badge ] : https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q= xast-util-to-string
167
170
168
- [ size ] : https://bundlephobia .com/result?p =xast-util-to-string
171
+ [ size ] : https://bundlejs .com/?q =xast-util-to-string
169
172
170
173
[ sponsors-badge ] : https://opencollective.com/unified/sponsors/badge.svg
171
174
@@ -215,4 +218,4 @@ abide by its terms.
215
218
216
219
[ xss ] : https://en.wikipedia.org/wiki/Cross-site_scripting
217
220
218
- [ tostring ] : #tostringnode
221
+ [ api-to-string ] : #tostringnode
0 commit comments