ranuts overview
Category Navigation
- Utility Functions - Functional programming, string processing, object processing, number processing, etc.
- File Operations - File read/write, watch operations
- Event System - Publish-subscribe pattern
- MIME Type - MIME type processing
- Others - Binary tree, bundler, etc.
Method list
| Method | description | detail |
|---|---|---|
| writeFile | Write to file | writeFile |
| readFile | Read file | readFile |
| readDir | Read the directory and get the names of all the files in the directory | readDir |
| watchFile | Check whether the contents of the file have changed | watchFile |
| queryFileInfo | Query file information | queryFileInfo |
| filterObj | Filter object | filterObj |
| EventEmitter | Publish-subscribe class | EventEmitter |
| getMime | Gets the mime type based on the file format suffix | getMime |
| getCookie | Gets the value of the specified cookie | getCookie |
💡 Tip: For more utility functions, see Utility Functions Category Index