
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@tickhq/clean-url
Advanced tools
This library strips unwanted tracking and clutter from URLs, making them simpler, tidier, and easier to read.
pnpm add @tickhq/clean-url
import { clean, validateURL, Cleaner } from "@tickhq/clean-url";
// One-off clean (uses default rules)
const result = clean(
"https://open.spotify.com/track/1hhZQVLXpg10ySFQFxGbih?si=-k8RwDQwTCK923jxZuy07w&utm_source=copy-link",
);
console.log(result.url);
// https://open.spotify.com/track/1hhZQVLXpg10ySFQFxGbih
// Validate a URL
validateURL("https://example.com"); // true
validateURL("not a url"); // false
// Custom config
const cleaner = new Cleaner({
config: { allowAMP: false, allowRedirects: true },
});
const { url, info } = cleaner.clean("https://...");
console.log(info.removed); // params that were stripped
Cleaner(options?) – options.rules, options.handlers, options.config (partial) to override defaults.cleaner.config – allowAMP, allowCustomHandlers, allowRedirects. Use config.setMany({ ... }) to set multiple.pnpm run build
pnpm test # run after build
FAQs
Strip tracking and clutter from URLs.
The npm package @tickhq/clean-url receives a total of 147 weekly downloads. As such, @tickhq/clean-url popularity was classified as not popular.
We found that @tickhq/clean-url demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.