UNPKG

scrapper-tools

Version:

Modern way to scrape modern websites

7 lines (6 loc) 141 B
export function friendlyFileName(s: string): string { return s .replace(/[^a-z0-9]/gi, "") .toLowerCase() .substring(0, 100) }