+Type Definition
+
+function tildify(path: string): string;
+
+
+
+|Name |Desc |
+|------|---------------|
+|path |Path to convert|
+|return|Tilde path |
+
+```javascript
+tildify('/home/surunzi/dev'); // -> '~/dev'
+```
+
## timeAgo
Format datetime with *** time ago statement.
diff --git a/DOC_CN.md b/DOC_CN.md
index eda7e3c8..618046c9 100644
--- a/DOC_CN.md
+++ b/DOC_CN.md
@@ -12292,6 +12292,26 @@ fs.createReadStream('in.txt')
.pipe(fs.createWriteStream('out.txt'));
```
+## tildify
+
+将绝对路径转换为波浪线路径。
+
+