update README

This commit is contained in:
Zongmin Lei
2014-02-14 10:15:40 +08:00
parent 3eba6dbf53
commit 4250cc7539

View File

@@ -289,6 +289,24 @@ img1, img2, img3, img4
```
## 性能
+ xss模块6.01 MB/s
+ validator@0.3.7模块的xss()函数4.62 MB/s
测试代码参考 benchmark 目录
## 单元测试
在源码目录执行命令: `npm test`
## 在线测试
在源码目录执行命令: `node lib/cli.js` 可在命令行中输入HTML代码并看到过滤后的代码
## MIT协议
```