Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

178 B
Raw Blame
import { parse } from 'tldts';

export function getCookieUrlFromDomain(domain: string) {
  const url = parse(domain);
  return url.domain! ? '.' + url.domain! : url.hostname!;
}