repo_description: A remote debugging platform you'll definitely find useful. Lightweight, cross-platform, out-of-box debugging tool
repo_topics: console debugger devtools remote-control
code: import { isString } from 'lodash-es';
  
  export const formatSlug = (slug: string) => {
    if (!slug || !isString(slug)) return slug;
  
    return slug
      .trim()
      .replace(/[!"#$%&'()*+,/:;<=>?@[\\\]^_`{|}~]/g, '')
      .replace(/[\.\s]/g, '-');
  };
  