2.0.1-alpha.6 • Published 2 months ago

xtt-msg v2.0.1-alpha.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

字符处理库

xtt-msg 为自用字符串解析器。传入一些字符串,会按照书写格式返回解析后的字符串结果。

想查看效果请运行 npm run build 后查看 demo

使用

browser

在浏览器中可以直接应用 showText.js 文件,然后使用 showText 全局变量即可。

<script src="dist/showText.js"></script>
<script>
	showText.showTextBrowser("![随机数](1-->>10)");
</script>

module

使用打包文件可以运行 npm install xtt-msg,然后引入 showText 变量即可。

import showText from "xtt-msg";

showText.showTextBrowser("![随机数](1-->>10)");

commonjs

const { showTextBrowser } = require("xtt-msg");

showTextBrowser("![随机数](1-->>10)");
2.0.1-alpha.6

2 months ago

2.0.1-alpha.0

2 months ago

2.0.1-alpha.1

2 months ago

2.0.1-alpha.2

2 months ago

2.0.1-alpha.3

2 months ago

2.0.1-alpha.4

2 months ago

2.0.0-alpha.0

11 months ago

2.0.0

10 months ago

1.1.0

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago