# ranuts overview

## Method list

| Method        | description                                                            | detail                              |
| ------------- | ---------------------------------------------------------------------- | ----------------------------------- |
| writeFile     | Write to file                                                          | [writeFile](./file/writeFile.md)    |
| readFile      | Read file                                                              | [readFile](./file/readFile.md)      |
| readDir       | Read the directory and get the names of all the files in the directory | [readDir](./file/readDir.md)        |
| watchFile     | Check whether the contents of the file have changed                    | [watchFile](./file/watchFile.md)    |
| queryFileInfo | Query file information                                                 | [queryFileInfo](./file/fileInfo.md) |
| filterObj     | Filter object                                                          | [filterObj](./utils/filterObj.md)   |
| EventEmitter  | Publish-subscribe class                                                | [EventEmitter](./mode/subscribe.md) |
| str2Xml       | String is converted to `xml`                                           | [str2Xml](./utils/str2xml.md)       |
| getMime       | Gets the `mime type` based on the file format suffix                   | [getMime](./mimeType/mimeType.md)   |
| getCookie     | Gets the value of the specified cookie                                 | [writeFile](./utils/getCookie.md)   |
| formatJson    | Formatted JSON                                                         | [formatJson](./utils/formatJson.md) |

# TOTP

<TOTP />
