Skip to content

Commit ca9e396

Browse files
committed
新增 fetchHTML api, 可以获取 HTML , 采用 jsdom 库解析并返回
1 parent cd00bd5 commit ca9e396

File tree

8 files changed

+444
-46
lines changed

8 files changed

+444
-46
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"test": "jest test/test.ts",
1313
"prettier": "prettier --write ."
1414
},
15+
"dependencies": {
16+
"jsdom": "^21.1.0"
17+
},
1518
"devDependencies": {
1619
"@babel/core": "^7.20.12",
1720
"@babel/preset-env": "^7.20.2",

0 commit comments

Comments
 (0)