github-slugger is a lightweight JavaScript library for generating GitHub-compatible URL slugs from strings. It's perfect for creating anchor links or heading IDs in markdown documents or websites. The package ensures that generated slugs are unique within a document, incrementing a counter when necessary to avoid collisions. Simplicity and focused functionality make it an ideal choice for developers who need reliable slug generation without unnecessary dependencies.