{"_id":"@brandonkal/url-purify","_rev":"6-6e2fb52f86275b40b24237be83c20219","name":"@brandonkal/url-purify","dist-tags":{"latest":"4.1.0"},"versions":{"1.0.0":{"name":"@brandonkal/url-purify","version":"1.0.0","license":"LGPL-3.0-only","_id":"@brandonkal/url-purify@1.0.0","maintainers":[{"name":"brandonkal","email":"brandon@brandonkalinowski.com"}],"homepage":"https://github.com/brandonkal/url-purify#readme","bugs":{"url":"https://github.com/brandonkal/url-purify/issues"},"dist":{"shasum":"c4e8f75a0c3d7ab7664a29cda94a1e6fda41ed40","tarball":"https://registry.npmjs.org/@brandonkal/url-purify/-/url-purify-1.0.0.tgz","fileCount":16,"integrity":"sha512-bVBHarDu0GT3x1Qw+WijxBUhkUPKB5Hjq/MUa67ziHZwtNYb/N9wdxBqZB2ghF6rxtjIb2k1Pd6HMaqGs4wW0A==","signatures":[{"sig":"MEUCIQD+yBofQyV2u2AMoiAYq2mXrE7Oj1bF8t/33WeKXrSfMQIgYDGZ2Aw4Q9PZppRoO3H/Wfma/gb2wix3kL9A+LBSdUA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92504},"type":"module","_from":"file:brandonkal-url-purify-1.0.0.tgz","types":"dist/main.d.ts","module":"./dist/main.es.js","scripts":{"dev":"vite","docs":"npx typedoc","build":"tsc --p ./tsconfig-build.json && vite build && cp LICENSE README.md dist","check":"biome check ./lib","format":"biome format --write ./lib"},"_npmUser":{"name":"brandonkal","email":"brandon@brandonkalinowski.com"},"_resolved":"/private/var/folders/ft/smbkvbx5533bcbnp1w9hkzfh0000gn/T/37e4e0737eaa54f50e1f2998e0bd2f28/brandonkal-url-purify-1.0.0.tgz","_integrity":"sha512-bVBHarDu0GT3x1Qw+WijxBUhkUPKB5Hjq/MUa67ziHZwtNYb/N9wdxBqZB2ghF6rxtjIb2k1Pd6HMaqGs4wW0A==","repository":{"url":"git+https://github.com/brandonkal/url-purify.git","type":"git"},"_npmVersion":"10.9.2","description":"[![GitHub Repo stars](https://img.shields.io/github/stars/mkljczk/url-purify)](https://github.com/mkljczk/url-purify) [![GitHub License](https://img.shields.io/github/license/mkljczk/url-purify)](https://github.com/mkljczk/url-purify?tab=LGPL-3.0-1-ov-fil","directories":{},"_nodeVersion":"23.11.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.3","vitest":"^3.1.4","typedoc":"^0.27.9","typescript":"^5.8.2","@biomejs/biome":"^1.9.4","vite-plugin-dts":"^4.5.3"},"_npmOperationalInternal":{"tmp":"tmp/url-purify_1.0.0_1747755472809_0.3407071422574124","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@brandonkal/url-purify","version":"2.0.0","license":"LGPL-3.0-only","_id":"@brandonkal/url-purify@2.0.0","maintainers":[{"name":"brandonkal","email":"brandon@brandonkalinowski.com"}],"homepage":"https://github.com/brandonkal/url-purify#readme","bugs":{"url":"https://github.com/brandonkal/url-purify/issues"},"dist":{"shasum":"a3892b93fea8db5e8d250280097d9850a8a624d7","tarball":"https://registry.npmjs.org/@brandonkal/url-purify/-/url-purify-2.0.0.tgz","fileCount":16,"integrity":"sha512-ow/b/8Qdysphq32hYBx51hmTSWSeq6IVgfHXgtv7iTcKekg9M7uh/0zPktH+zrvSMbfCiUiVxyIvor+o+6GlCg==","signatures":[{"sig":"MEQCIH6DyfLD29YxpHynBIqf4pioewYa0it5J1NDzfk1Jq2aAiAvlo20c+RzzafQF0GJv2ss0bhar+csbl7CZomyBcNq+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94499},"type":"module","_from":"file:brandonkal-url-purify-2.0.0.tgz","types":"dist/main.d.ts","module":"./dist/main.es.js","scripts":{"dev":"vite","docs":"npx typedoc","build":"tsc --p ./tsconfig-build.json && vite build && cp LICENSE README.md dist","check":"biome check ./lib","format":"biome format --write ./lib"},"_npmUser":{"name":"brandonkal","email":"brandon@brandonkalinowski.com"},"_resolved":"/private/var/folders/ft/smbkvbx5533bcbnp1w9hkzfh0000gn/T/599941aeb5a9fc2d353b0d72238679bf/brandonkal-url-purify-2.0.0.tgz","_integrity":"sha512-ow/b/8Qdysphq32hYBx51hmTSWSeq6IVgfHXgtv7iTcKekg9M7uh/0zPktH+zrvSMbfCiUiVxyIvor+o+6GlCg==","repository":{"url":"git+https://github.com/brandonkal/url-purify.git","type":"git"},"_npmVersion":"10.9.2","description":"[![GitHub Repo stars](https://img.shields.io/github/stars/mkljczk/url-purify)](https://github.com/mkljczk/url-purify) [![GitHub License](https://img.shields.io/github/license/mkljczk/url-purify)](https://github.com/mkljczk/url-purify?tab=LGPL-3.0-1-ov-fil","directories":{},"_nodeVersion":"23.11.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.2.3","vitest":"^3.1.4","typedoc":"^0.27.9","typescript":"^5.8.2","@biomejs/biome":"^1.9.4","vite-plugin-dts":"^4.5.3"},"_npmOperationalInternal":{"tmp":"tmp/url-purify_2.0.0_1747836718113_0.44810253552431245","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@brandonkal/url-purify","version":"3.0.0","license":"LGPL-3.0-only","_id":"@brandonkal/url-purify@3.0.0","maintainers":[{"name":"brandonkal","email":"brandon@brandonkalinowski.com"}],"homepage":"https://github.com/brandonkal/url-purify#readme","bugs":{"url":"https://github.com/brandonkal/url-purify/issues"},"dist":{"shasum":"309d4a50790ffb84ca30621d767369a9a43ea0a9","tarball":"https://registry.npmjs.org/@brandonkal/url-purify/-/url-purify-3.0.0.tgz","fileCount":17,"integrity":"sha512-G5QrbrAx9LjVbH80WwkqiEPcjF1RcwP6nkftG4PZrX/fapMo7EVa+88BPxAbEI44Td5zt9WzAZSsquMxzumyHg==","signatures":[{"sig":"MEQCIECo8FS8KXCjFjtcXw1mmwZN2cNzKC0G1TSPtTN6YkVlAiBgwYZ3YsaX4QSZnTonXReHhf8S6eiTGYWQxqOKab3Kbw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83811},"type":"module","_from":"file:brandonkal-url-purify-3.0.0.tgz","types":"dist/main.d.ts","module":"./dist/main.es.js","scripts":{"dev":"vite","docs":"typedoc","build":"tsc --p ./tsconfig-build.json && vite build && cp LICENSE README.md dist","check":"biome check ./lib","format":"biome format --write ./lib"},"_npmUser":{"name":"brandonkal","email":"brandon@brandonkalinowski.com"},"_resolved":"/private/var/folders/mf/b8s88h5959zdm6kwd8mwpzgh0000gp/T/056acd9970ef0806c6417e075e73fbe0/brandonkal-url-purify-3.0.0.tgz","_integrity":"sha512-G5QrbrAx9LjVbH80WwkqiEPcjF1RcwP6nkftG4PZrX/fapMo7EVa+88BPxAbEI44Td5zt9WzAZSsquMxzumyHg==","repository":{"url":"git+https://github.com/brandonkal/url-purify.git","type":"git"},"_npmVersion":"11.11.0","description":"`@brandonkal/url-purify` is a JavaScript library that cleans URLs by removing tracking parameters and other unnecessary elements. It also normalized and detects the ID in YouTube links. It is forked from the [ClearURLs](https://github.com/ClearURLs/Addon/","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.3","vitest":"^4.1.2","typedoc":"^0.28.18","typescript":"^6.0.2","@biomejs/biome":"^2.4.9","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/url-purify_3.0.0_1774730524438_0.1866490223943198","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@brandonkal/url-purify","version":"3.0.1","license":"LGPL-3.0-only","_id":"@brandonkal/url-purify@3.0.1","maintainers":[{"name":"brandonkal","email":"brandon@brandonkalinowski.com"}],"homepage":"https://github.com/brandonkal/url-purify#readme","bugs":{"url":"https://github.com/brandonkal/url-purify/issues"},"dist":{"shasum":"fb9830d24c690c4042fc9f1c8f78e361a9b53b3d","tarball":"https://registry.npmjs.org/@brandonkal/url-purify/-/url-purify-3.0.1.tgz","fileCount":14,"integrity":"sha512-kY71KuYWUfgCZrZH1or1MzQaK7SH6z5UuIxjqi86YRfiv3zSWu0jvoncAMXu0MlqkeJl16aNS2uy1pSIBG2Zvg==","signatures":[{"sig":"MEQCIE03h/0AkeKFN/28azgQUgVVQPt9F7Q5cGo/zCi9s8VHAiA4X8irsWOq6M7fnDRFbCfq+moMujVoo3y+Jbxys+hNkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75391},"type":"module","_from":"file:brandonkal-url-purify-3.0.1.tgz","types":"./dist/main.d.ts","module":"./dist/main.es.js","scripts":{"dev":"vite","docs":"typedoc","build":"vite build && pnpm exec tsgo --emitDeclarationOnly","check":"biome check ./lib","format":"biome format --write ./lib"},"_npmUser":{"name":"brandonkal","email":"brandon@brandonkalinowski.com"},"_resolved":"/private/var/folders/mf/b8s88h5959zdm6kwd8mwpzgh0000gp/T/8dfd115136efc1ef8197608a6ba8730c/brandonkal-url-purify-3.0.1.tgz","_integrity":"sha512-kY71KuYWUfgCZrZH1or1MzQaK7SH6z5UuIxjqi86YRfiv3zSWu0jvoncAMXu0MlqkeJl16aNS2uy1pSIBG2Zvg==","repository":{"url":"git+https://github.com/brandonkal/url-purify.git","type":"git"},"_npmVersion":"11.11.0","description":"`@brandonkal/url-purify` is a JavaScript library that cleans URLs by removing tracking parameters and other unnecessary elements. It also normalized and detects the ID in YouTube links. It is forked from the [ClearURLs](https://github.com/ClearURLs/Addon/","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.3","vitest":"^4.1.2","typedoc":"^0.28.18","typescript":"^6.0.2","@biomejs/biome":"^2.4.9","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/url-purify_3.0.1_1774735730255_0.0502948284866338","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@brandonkal/url-purify","version":"4.0.0","license":"LGPL-3.0-only","_id":"@brandonkal/url-purify@4.0.0","maintainers":[{"name":"brandonkal","email":"brandon@brandonkalinowski.com"}],"homepage":"https://github.com/brandonkal/url-purify#readme","bugs":{"url":"https://github.com/brandonkal/url-purify/issues"},"dist":{"shasum":"bfb68b8965d98c292990be9bc17f665efc2d5791","tarball":"https://registry.npmjs.org/@brandonkal/url-purify/-/url-purify-4.0.0.tgz","fileCount":14,"integrity":"sha512-y7tb6e3TVmiAmRL/uTMHvTK/8yjc1fA82nFS4gF8Z1pDDKs/UXxaVRnz/GTTxFm1b4fAP8oiobCAM5STuyaMDg==","signatures":[{"sig":"MEQCIEAM6ZTrTHUd4ExRN6LG0Jq20ktJY9MxeLDZzz3hrnZsAiBZqZu2F3yNX/LozqOvSgDg4QuufSG3tap4/KJk+YLx7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75411},"type":"module","_from":"file:brandonkal-url-purify-4.0.0.tgz","types":"./dist/main.d.ts","module":"./dist/main.es.js","scripts":{"dev":"vite","docs":"typedoc","test":"vitest","build":"vite build && pnpm exec tsgo --emitDeclarationOnly","check":"biome check ./lib","format":"biome format --write ./lib"},"_npmUser":{"name":"brandonkal","email":"brandon@brandonkalinowski.com"},"_resolved":"/private/var/folders/mf/b8s88h5959zdm6kwd8mwpzgh0000gp/T/b77a8fa23785673584b351c73bb5e37a/brandonkal-url-purify-4.0.0.tgz","_integrity":"sha512-y7tb6e3TVmiAmRL/uTMHvTK/8yjc1fA82nFS4gF8Z1pDDKs/UXxaVRnz/GTTxFm1b4fAP8oiobCAM5STuyaMDg==","repository":{"url":"git+https://github.com/brandonkal/url-purify.git","type":"git"},"_npmVersion":"11.11.0","description":"`@brandonkal/url-purify` is a JavaScript library that cleans URLs by removing tracking parameters and other unnecessary elements. It also normalized and detects the ID in YouTube links. It is forked from the [ClearURLs](https://github.com/ClearURLs/Addon/","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.3","vitest":"^4.1.2","typedoc":"^0.28.18","typescript":"^6.0.2","@biomejs/biome":"^2.4.9","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/url-purify_4.0.0_1774737596079_0.16371428511617414","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"@brandonkal/url-purify","version":"4.1.0","type":"module","repository":{"type":"git","url":"git+https://github.com/brandonkal/url-purify.git"},"license":"LGPL-3.0-only","devDependencies":{"@biomejs/biome":"^2.4.9","@typescript/native-preview":"7.0.0-dev.20260328.1","typedoc":"^0.28.18","typescript":"^6.0.2","vite":"^8.0.3","vitest":"^4.1.2"},"module":"./dist/main.es.js","types":"./dist/main.d.ts","scripts":{"dev":"vite","build":"vite build && pnpm exec tsgo --emitDeclarationOnly","format":"biome format --write ./lib","check":"biome check ./lib","test":"vitest","docs":"typedoc"},"_id":"@brandonkal/url-purify@4.1.0","description":"`@brandonkal/url-purify` is a JavaScript library that cleans URLs by removing tracking parameters and other unnecessary elements. It also normalized and detects the ID in YouTube links. It is forked from the [ClearURLs](https://github.com/ClearURLs/Addon/","bugs":{"url":"https://github.com/brandonkal/url-purify/issues"},"homepage":"https://github.com/brandonkal/url-purify#readme","_integrity":"sha512-mudqApqEp16ZxZHeWxpS+b38XNMLtZB+XRJFElAEKFQmCuDG564K0+2Bys9o1NSWKG9YoOW7FlO/ye1WORWgOA==","_resolved":"/private/var/folders/mf/b8s88h5959zdm6kwd8mwpzgh0000gp/T/1577f763851535ebb664bebfda8f5788/brandonkal-url-purify-4.1.0.tgz","_from":"file:brandonkal-url-purify-4.1.0.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-mudqApqEp16ZxZHeWxpS+b38XNMLtZB+XRJFElAEKFQmCuDG564K0+2Bys9o1NSWKG9YoOW7FlO/ye1WORWgOA==","shasum":"dd1354cbc4a6fcaf2794c368580ec63168ac0798","tarball":"https://registry.npmjs.org/@brandonkal/url-purify/-/url-purify-4.1.0.tgz","fileCount":14,"unpackedSize":75411,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDc2X0tEt5e1FHWFsDBICcF61EzGXqSWY3TVOSgZvF/QQIgI3TcWK1H8H09/fHhNGB3xE4kjSG6EBNSiHsD+rIiWHc="}]},"_npmUser":{"name":"brandonkal","email":"brandon@brandonkalinowski.com"},"directories":{},"maintainers":[{"name":"brandonkal","email":"brandon@brandonkalinowski.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/url-purify_4.1.0_1774968941918_0.7435915509157227"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-20T15:37:52.723Z","modified":"2026-03-31T14:55:42.169Z","1.0.0":"2025-05-20T15:37:53.002Z","2.0.0":"2025-05-21T14:11:58.311Z","3.0.0":"2026-03-28T20:42:04.590Z","3.0.1":"2026-03-28T22:08:50.536Z","4.0.0":"2026-03-28T22:39:56.226Z","4.1.0":"2026-03-31T14:55:42.067Z"},"bugs":{"url":"https://github.com/brandonkal/url-purify/issues"},"license":"LGPL-3.0-only","homepage":"https://github.com/brandonkal/url-purify#readme","repository":{"type":"git","url":"git+https://github.com/brandonkal/url-purify.git"},"description":"`@brandonkal/url-purify` is a JavaScript library that cleans URLs by removing tracking parameters and other unnecessary elements. It also normalized and detects the ID in YouTube links. It is forked from the [ClearURLs](https://github.com/ClearURLs/Addon/","maintainers":[{"name":"brandonkal","email":"brandon@brandonkalinowski.com"}],"readme":"# `@brandonkal/url-purify`\n\n`@brandonkal/url-purify` is a JavaScript library that cleans URLs by removing tracking parameters and other unnecessary elements. It also normalized and detects the ID in YouTube links. It is forked from the [ClearURLs](https://github.com/ClearURLs/Addon/) browser extension.\n\n## Usage\n\n```bash\npnpm i -D @brandonkal/url-purify\n```\n\nExample usage:\n\n```ts\nimport { cleanURL } from '@brandonkal/url-purify';\n\nconst output = await cleanURL('https://twitter.com/Br_Nowak/status/1586618354307039234?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1586669502292434944%7Ctwgr%5E2432a774390f7dcbd3b885ac9570cacdb3c48c9d%7Ctwcon%5Es3_&ref_url=https%3A%2F%2Fwww.wprost.pl%2Fpolityka%2F10927933%2Fkuriozalny-wpis-malopolskiej-kurator-oswiaty-przed-1-listopada-internauci-bezlitosni.html');\n\nconsole.log(output.url); // Output: 'https://twitter.com/Br_Nowak/status/1586618354307039234'\n\n```\n\n## Copyright\n\n`@brandonkal/url-purify` utilizes the [ClearURLs](https://github.com/ClearURLs/Addon/) browser extension's source code. It is licensed under the [LGPL-3.0](./LICENSE) license.\n","readmeFilename":"README.md"}