没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
守卫的字符串 防止在应用程序中意外地在字符串中引入XSSKong 紧紧抓住你的朋友,紧紧抓住你的弦 安装 yarn add guarded-string 用法 重要的! 应该将其用于防止XSS攻击之类的东西,而不是用于隐藏敏感信息。 import guardedString from 'guarded-string' ; const myString = guardedString `My very important (but not too important) string` ; guardedString . isGuarded ( myString ) ; // >> boolean guardedString . assertGuarded ( myString ) ; // >> maybe throws guardedString . toUnguarded ( mySt
资源推荐
资源详情
资源评论
收起资源包目录
guarded-string-master.zip (9个子文件)
guarded-string-master
.flowconfig 104B
yarn.lock 98KB
test.js 3KB
.travis.yml 169B
LICENSE 1KB
README.md 3KB
.gitignore 19B
index.js 2KB
package.json 565B
共 9 条
- 1
资源评论
weixin_42138139
- 粉丝: 18
- 资源: 4654
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功