@@ -39,7 +39,7 @@ about “monsieur”.
39
39
## Install
40
40
41
41
This package is [ ESM only] [ esm ] .
42
- In Node.js (version 14.14+ and 16.0 +), install with [ npm] [ ] :
42
+ In Node.js (version 16 +), install with [ npm] [ ] :
43
43
44
44
``` sh
45
45
npm install nlcst-is-literal
106
106
107
107
## API
108
108
109
- This package exports the identifier [ ` isLiteral ` ] [ isliteral ] .
109
+ This package exports the identifier [ ` isLiteral ` ] [ api-is-literal ] .
110
110
There is no default export.
111
111
112
112
### ` isLiteral(parent, index|child) `
@@ -139,10 +139,13 @@ It exports no additional types.
139
139
140
140
## Compatibility
141
141
142
- Projects maintained by the unified collective are compatible with all maintained
142
+ Projects maintained by the unified collective are compatible with maintained
143
143
versions of Node.js.
144
- As of now, that is Node.js 14.14+ and 16.0+.
145
- Our projects sometimes work with older versions, but this is not guaranteed.
144
+
145
+ When we cut a new major release, we drop support for unmaintained versions of
146
+ Node.
147
+ This means we try to keep the current release line, ` nlcst-is-literal@^2 ` ,
148
+ compatible with Node.js 12.
146
149
147
150
## Related
148
151
@@ -179,9 +182,9 @@ abide by its terms.
179
182
180
183
[ downloads ] : https://www.npmjs.com/package/nlcst-is-literal
181
184
182
- [ size-badge ] : https://img.shields.io/bundlephobia/minzip/ nlcst-is-literal.svg
185
+ [ size-badge ] : https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q= nlcst-is-literal
183
186
184
- [ size ] : https://bundlephobia .com/result?p =nlcst-is-literal
187
+ [ size ] : https://bundlejs .com/?q =nlcst-is-literal
185
188
186
189
[ sponsors-badge ] : https://opencollective.com/unified/sponsors/badge.svg
187
190
@@ -217,4 +220,4 @@ abide by its terms.
217
220
218
221
[ node ] : https://github.com/syntax-tree/nlcst#nodes
219
222
220
- [ isliteral ] : #isliteralparent-indexchild
223
+ [ api-is-literal ] : #isliteralparent-indexchild
0 commit comments