From 09dcf9a83345a170f0155e1232dd0e1c55857dd1 Mon Sep 17 00:00:00 2001 From: PRO-2684 <54608551+PRO-2684@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:27:03 +0800 Subject: [PATCH] Update readme.md --- README.md | 1 + README_zh.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 1c65229..4abae54 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/README_zh.md b/README_zh.md index 12fefb1..d7c5053 100644 --- a/README_zh.md +++ b/README_zh.md @@ -14,6 +14,7 @@ - ⚡ 快速:快速高效地净化 URL。 (时间复杂度为 $O(n)$,其中 $n$ 是 URL 路径中 `/` 的数量) - 🪶 轻量:零依赖;最小化脚本不到 3kb。 - 📃 基于规则:根据规则净化,更为灵活。 +- 🔄️ 异步:调用 `purify` 不会阻塞您的线程。 - 🔁 迭代式净化:若单次净化后的 URL 仍包含跟踪参数 (例如 `redirect` 规则返回的 URL),将继续净化。 - 📊 统计数据:您可以跟踪净化过程中的统计数据,包括净化的链接数量、移除的参数数量、解码的网址数量、重定向的网址数量、删除的字符数量等。