17
17
* [ Install] ( #install )
18
18
* [ Use] ( #use )
19
19
* [ API] ( #api )
20
- * [ ` phrasing(node ) ` ] ( #phrasingnode )
20
+ * [ ` phrasing(value ) ` ] ( #phrasingvalue )
21
21
* [ Types] ( #types )
22
22
* [ Compatibility] ( #compatibility )
23
23
* [ Security] ( #security )
@@ -41,7 +41,7 @@ but on [hast][].
41
41
## Install
42
42
43
43
This package is [ ESM only] [ esm ] .
44
- In Node.js (version 12.20+, 14.14+, or 16.0+), install with [ npm] [ ] :
44
+ In Node.js (version 14.14+ and 16.0+), install with [ npm] [ ] :
45
45
46
46
``` sh
47
47
npm install mdast-util-phrasing
@@ -75,16 +75,21 @@ phrasing({type: 'strong', children: [{type: 'text', value: 'Delta'}]})
75
75
76
76
## API
77
77
78
- This package exports the identifier ` phrasing ` .
78
+ This package exports the identifier [ ` phrasing ` ] [ api-phrasing ] .
79
79
There is no default export.
80
80
81
- ### ` phrasing(node ) `
81
+ ### ` phrasing(value ) `
82
82
83
- Check if the given value (` unknown ` ) is phrasing content.
83
+ Check if the given value is * [ phrasing content] [ phrasing ] * .
84
+
85
+ ###### Parameters
86
+
87
+ * ` value ` (` unknown ` )
88
+ — thing to check, typically [ ` Node ` ] [ node ]
84
89
85
90
###### Returns
86
91
87
- Whether ` node ` is [ phrasing content] [ phrasing ] (` boolean ` ).
92
+ Whether ` value ` is phrasing content (` boolean ` ).
88
93
89
94
## Types
90
95
@@ -95,7 +100,7 @@ It does not export extra types.
95
100
96
101
Projects maintained by the unified collective are compatible with all maintained
97
102
versions of Node.js.
98
- As of now, that is Node.js 12.20+, 14.14+, and 16.0+.
103
+ As of now, that is Node.js 14.14+ and 16.0+.
99
104
Our projects sometimes work with older versions, but this is not guaranteed.
100
105
101
106
## Security
@@ -186,3 +191,5 @@ abide by its terms.
186
191
[ unist-util-is ] : https://github.com/syntax-tree/unist-util-is
187
192
188
193
[ hast-util-phrasing ] : https://github.com/syntax-tree/hast-util-phrasing
194
+
195
+ [ api-phrasing ] : #phrasingvalue
0 commit comments