没有合适的资源?快使用搜索试试~ 我知道了~
json-rt:富文本格式的简单可序列化json表示形式
共25个文件
json:5个
ts:5个
js:4个
需积分: 46 0 下载量 57 浏览量
2021-03-28
08:21:17
上传
评论
收藏 139KB ZIP 举报
温馨提示
JSON富文本 简单的json格式代表和序列化您的富文本格式。 :rocket: 如何使用 只需编写一个简单的json结构即可读取: import { RichTextJson } from 'json-rt' const myText : RichTextJson = [ 'This is my first' , { text : 'beautiful' , bold : true } , 'rich text!' ] :page_with_curl: HTML序列化器 使用htmlParser将json对象序列化为html import { htmlSerializer } from 'json-rt' const serializer = htmlSerializer ( ) const myText = [ { text : 'JSON Rich text' , line : true , header :
资源推荐
资源详情
资源评论
收起资源包目录
json-rt-master.zip (25个子文件)
json-rt-master
release.config.js 253B
LICENCE.md 1KB
.eslint.tsconfig.json 35B
.eslintrc.js 168B
.prettierignore 53B
src
main.ts 192B
lib
interfaces.ts 728B
serializers
html.ts 5KB
test
htmlSerializer.test.ts 4KB
__snapshots__
htmlSerializer.test.ts.snap 2KB
data
htmlSerializer.ts 992B
jsconfig.json 52B
.travis.yml 241B
tsconfig.json 453B
jest.config.js 346B
README.md 2KB
.npmrc 39B
prettier.config.js 69B
.editorconfig 94B
tsconfig.tsbuildinfo 63KB
.gitignore 23B
.eslintignore 12B
package-lock.json 533KB
package.json 2KB
.nvmrc 7B
共 25 条
- 1
资源评论
dongyuwu
- 粉丝: 39
- 资源: 4559
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功