Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PRO-2684 committed Apr 15, 2024
1 parent 7e924a1 commit 09dcf9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Purify URL: Remove redundant tracking parameters, skip redirecting pages, and ex
- ⚡ Fast: Purify URLs quickly and efficiently. (Time complexity is $O(n)$, where $n$ is the count of `/` in the URL path.)
- 🪶 Lightweight: Zero-dependency; Minified script less than 3kb.
- 📃 Rule-based: Perform purification based on rules, making it more flexible.
- 🔄️ Async: Calling `purify` won't block your thread.
- 🔁 Iterative purification: If the URL still contains tracking parameters after a single purification (e.g. URLs returned by `redirect` rules), it will continue to be purified.
- 📊 Statistics: You can track statistics of the purification process, including the number of links purified, the number of parameters removed, the number of URLs decoded, the number of URLs redirected, and the number of characters deleted, etc.

Expand Down
1 change: 1 addition & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- ⚡ 快速:快速高效地净化 URL。 (时间复杂度为 $O(n)$,其中 $n$ 是 URL 路径中 `/` 的数量)
- 🪶 轻量:零依赖;最小化脚本不到 3kb。
- 📃 基于规则:根据规则净化,更为灵活。
- 🔄️ 异步:调用 `purify` 不会阻塞您的线程。
- 🔁 迭代式净化:若单次净化后的 URL 仍包含跟踪参数 (例如 `redirect` 规则返回的 URL),将继续净化。
- 📊 统计数据:您可以跟踪净化过程中的统计数据,包括净化的链接数量、移除的参数数量、解码的网址数量、重定向的网址数量、删除的字符数量等。

Expand Down

0 comments on commit 09dcf9a

Please sign in to comment.