没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
html-react-parser 在服务器(Node.js)和客户端(浏览器)上均可使用HTML to React解析器: HTMLReactParser(string[, options]) 解析器将HTML字符串转换为一个或多个。 要将元素替换为另一个元素,请签出选项。 例 const parse = require ( 'html-react-parser' ) ; parse ( '<p>Hello, World!</p>' ) ; // React.createElement('p', {}, 'Hello, World!') | | | | 目录 安装 : $
资源推荐
资源详情
资源评论
收起资源包目录
html-react-parser-master.zip (63个子文件)
html-react-parser-master
benchmark
index.js 530B
rollup.config.js 692B
index.js 1KB
.lintstagedrc.json 79B
package.json 2KB
.size-limit.json 77B
.eslintrc.json 381B
.github
dependabot.yml 573B
FUNDING.yml 855B
PULL_REQUEST_TEMPLATE.md 634B
ISSUE_TEMPLATE.md 705B
workflows
build.yml 731B
size-limit.yml 288B
test
attributes-to-props.test.js 6KB
utilities.test.js 3KB
data
index.js 73B
svg.js 509B
html.js 1KB
index.test.js 4KB
__snapshots__
index.test.js.snap 4KB
dom-to-react.test.js.snap 2KB
attributes-to-props.test.js.snap 3KB
utilities.test.js.snap 417B
types
index.tsx 2KB
lib
dom-to-react.tsx 1KB
integration
index.test.js 664B
dom-to-react.test.js 5KB
helpers
index.js 310B
SECURITY.md 322B
LICENSE 1KB
CONTRIBUTING.md 2KB
index.mjs 244B
tsconfig.json 549B
index.d.ts 1KB
examples
create-react-app
package.json 519B
.env 26B
src
App.css 26B
index.js 146B
App.js 396B
public
index.html 1KB
README.md 931B
index.html 1KB
amd.html 773B
script.html 740B
next
package.json 233B
pages
index.js 516B
.gitignore 6B
webpack
package.json 341B
index.html 123B
src
index.js 210B
.gitignore 697B
CHANGELOG.md 24KB
.commitlintrc.json 102B
lib
dom-to-react.d.ts 418B
attributes-to-props.d.ts 333B
dom-to-react.js 4KB
utilities.js 3KB
attributes-to-props.js 2KB
CODE_OF_CONDUCT.md 3KB
.npmrc 35B
README.md 16KB
.huskyrc.json 144B
.prettierrc.json 79B
共 63 条
- 1
资源评论
谢平凡
- 粉丝: 17
- 资源: 4598
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功