MCPcopy Index your code
hub / github.com/learnapollo/learnapollo / slug

Function slug

src/utils/string.ts:3–5  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

1const _slug = require('slugify')
2
3export function slug(str: string): string {
4 return _slug(str, {lower: true})
5}

Callers 2

renderMethod · 0.90
HeadingMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected