1
- # hast-util-script-supporting [ ![ Build ] [ build-badge ]] [ build ] [ ![ Coverage ] [ coverage-badge ]] [ coverage ] [ ![ Downloads ] [ downloads-badge ]] [ downloads ] [ ![ Chat ] [ chat-badge ]] [ chat ]
1
+ # hast-util-script-supporting
2
2
3
- Check if a [ HAST node] [ hast ] is a [ ** script-supporting** ] [ spec ] [ element] [ ] .
3
+ [ ![ Build] [ build-badge ]] [ build ]
4
+ [ ![ Coverage] [ coverage-badge ]] [ coverage ]
5
+ [ ![ Downloads] [ downloads-badge ]] [ downloads ]
6
+ [ ![ Size] [ size-badge ]] [ size ]
7
+ [ ![ Sponsors] [ sponsors-badge ]] [ collective ]
8
+ [ ![ Backers] [ backers-badge ]] [ collective ]
9
+ [ ![ Chat] [ chat-badge ]] [ chat ]
4
10
5
- ## Installation
11
+ [ ** hast** ] [ hast ] utility to check if an [ * element* ] [ element ] is
12
+ [ * script-supporting* ] [ spec ] .
13
+
14
+ ## Install
6
15
7
16
[ npm] [ ] :
8
17
9
- ``` bash
18
+ ``` sh
10
19
npm install hast-util-script-supporting
11
20
```
12
21
13
22
## Usage
14
23
15
- ``` javascript
24
+ ``` js
16
25
var scriptSupporting = require (' hast-util-script-supporting' )
17
26
18
27
scriptSupporting ({
@@ -33,15 +42,17 @@ scriptSupporting({
33
42
34
43
### ` scriptSupporting(node) `
35
44
36
- Check if the given value is a [ ** script-supporting** ] [ spec ] [ element] [ ] .
45
+ Check if the given value is a [ * script-supporting* ] [ spec ] [ * element* ] [ element ] .
37
46
38
47
## Contribute
39
48
40
- See [ ` contributing.md ` in ` syntax-tree/hast ` ] [ contributing ] for ways to get
49
+ See [ ` contributing.md ` in ` syntax-tree/.github ` ] [ contributing ] for ways to get
41
50
started.
51
+ See [ ` support.md ` ] [ support ] for ways to get help.
42
52
43
- This organisation has a [ Code of Conduct] [ coc ] . By interacting with this
44
- repository, organisation, or community you agree to abide by its terms.
53
+ This project has a [ Code of Conduct] [ coc ] .
54
+ By interacting with this repository, organisation, or community you agree to
55
+ abide by its terms.
45
56
46
57
## License
47
58
@@ -61,22 +72,34 @@ repository, organisation, or community you agree to abide by its terms.
61
72
62
73
[ downloads ] : https://www.npmjs.com/package/hast-util-script-supporting
63
74
75
+ [ size-badge ] : https://img.shields.io/bundlephobia/minzip/hast-util-script-supporting.svg
76
+
77
+ [ size ] : https://bundlephobia.com/result?p=hast-util-script-supporting
78
+
79
+ [ sponsors-badge ] : https://opencollective.com/unified/sponsors/badge.svg
80
+
81
+ [ backers-badge ] : https://opencollective.com/unified/backers/badge.svg
82
+
83
+ [ collective ] : https://opencollective.com/unified
84
+
64
85
[ chat-badge ] : https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
65
86
66
- [ chat ] : https://spectrum.chat/unified/rehype
87
+ [ chat ] : https://spectrum.chat/unified/syntax-tree
67
88
68
89
[ npm ] : https://docs.npmjs.com/cli/install
69
90
70
91
[ license ] : license
71
92
72
93
[ author ] : https://wooorm.com
73
94
74
- [ hast ] : https://github.com/syntax-tree/hast
95
+ [ contributing ] : https://github.com/syntax-tree/.github/blob/master/contributing.md
75
96
76
- [ element ] : https://github.com/syntax-tree/hast#element
97
+ [ support ] : https://github.com/syntax-tree/.github/blob/master/support.md
98
+
99
+ [ coc ] : https://github.com/syntax-tree/.github/blob/master/code-of-conduct.md
77
100
78
101
[ spec ] : https://html.spec.whatwg.org/#script-supporting-elements
79
102
80
- [ contributing ] : https://github.com/syntax-tree/hast/blob/master/contributing.md
103
+ [ hast ] : https://github.com/syntax-tree/hast
81
104
82
- [ coc ] : https://github.com/syntax-tree/hast/blob/master/code-of-conduct.md
105
+ [ element ] : https://github.com/syntax-tree/hast#element
0 commit comments