8
8
[ ![ Backers] [ backers-badge ]] [ collective ]
9
9
[ ![ Chat] [ chat-badge ]] [ chat ]
10
10
11
- [ hast] [ ] utility to check if a node is [ * interactive* ] [ spec ] .
11
+ [ hast] [ ] utility to check if a node is [ * interactive content * ] [ spec ] .
12
12
13
13
## Contents
14
14
@@ -38,7 +38,7 @@ looking for!
38
38
## Install
39
39
40
40
This package is [ ESM only] [ esm ] .
41
- In Node.js (version 12.20+, 14.14+, 16.0+, or 18 .0+), install with [ npm] [ ] :
41
+ In Node.js (version 14.14+ and 16 .0+), install with [ npm] [ ] :
42
42
43
43
``` sh
44
44
npm install hast-util-interactive
@@ -87,16 +87,17 @@ interactive({
87
87
88
88
## API
89
89
90
- This package exports the identifier ` interactive ` .
90
+ This package exports the identifier [ ` interactive ` ] [ interactive ] .
91
91
There is no default export.
92
92
93
93
### ` interactive(node) `
94
94
95
- Check if the given value is [ * interactive* ] [ spec ] .
95
+ Check if the given value is [ * interactive content * ] [ spec ] .
96
96
97
97
###### Parameters
98
98
99
- * ` node ` ([ ` Node ` ] [ node ] , optional) — node to check
99
+ * ` node ` ([ ` Node ` ] [ node ] , optional)
100
+ — node to check
100
101
101
102
###### Returns
102
103
@@ -122,7 +123,7 @@ It exports no additional types.
122
123
123
124
Projects maintained by the unified collective are compatible with all maintained
124
125
versions of Node.js.
125
- As of now, that is Node.js 12.20+, 14.14+, 16.0+, and 18 .0+.
126
+ As of now, that is Node.js 14.14+ and 16 .0+.
126
127
Our projects sometimes work with older versions, but this is not guaranteed.
127
128
128
129
## Security
@@ -234,3 +235,5 @@ abide by its terms.
234
235
[ spec ] : https://html.spec.whatwg.org/multipage/dom.html#interactive-content
235
236
236
237
[ xss ] : https://en.wikipedia.org/wiki/Cross-site_scripting
238
+
239
+ [ interactive ] : #interactivenode
0 commit comments