File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Transform [HAST][] to [Parse5’s AST][ast].
4
4
5
5
## Installation
6
6
7
- [ npm] [ npm-install ] :
7
+ [ npm] [ ] :
8
8
9
9
``` bash
10
10
npm install hast-util-from-parse5
@@ -26,7 +26,7 @@ var parse5 = require('parse5');
26
26
var inspect = require (' unist-util-inspect' );
27
27
var fromParse5 = require (' hast-util-from-parse5' );
28
28
29
- var doc = vfile .readSync (' example.html' )
29
+ var doc = vfile .readSync (' example.html' );
30
30
var ast = parse5 .parse (String (doc), {locationInfo: true });
31
31
var hast = fromParse5 (ast, doc);
32
32
@@ -132,7 +132,7 @@ The verbose info would looks as follows:
132
132
133
133
[ codecov ] : https://codecov.io/github/syntax-tree/hast-util-from-parse5
134
134
135
- [ npm-install ] : https://docs.npmjs.com/cli/install
135
+ [ npm ] : https://docs.npmjs.com/cli/install
136
136
137
137
[ license ] : LICENSE
138
138
You can’t perform that action at this time.
0 commit comments