ranuts overview
方法列表
| 方法 | 说明 | 详细内容 |
|---|---|---|
| writeFile | 写入文件 | writeFile |
| readFile | 读取文件 | readFile |
| readDir | 读取目录,获取目录下所有文件的名字 | readDir |
| watchFile | 观察文件的内容是否发生变化 | watchFile |
| queryFileInfo | 查询文件信息 | queryFileInfo |
| filterObj | 过滤对象 | filterObj |
| EventEmitter | 发布订阅类 | EventEmitter |
| str2Xml | 字符串转成xml | str2Xml |
| getMime | 根据文件格式后缀获取 mime type | getMime |
| getCookie | 获取指定 cookie 的值 | writeFile |
| formatJson | 格式化 JSON | formatJson |
TOTP
components_totp_6
code:
components_totp_4: