MCPcopy Index your code
hub / github.com/nodejs/nodejs.org / createGitHubSlugger

Function createGitHubSlugger

apps/site/util/github.ts:6–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4 `https://avatars.githubusercontent.com/${username}`;
5
6export const createGitHubSlugger = () => {
7 const githubSlugger = new GitHubSlugger();
8
9 return (text: string) => githubSlugger.slug(text);
10};
11
12export const getGitHubBlobUrl = (filename: string) =>
13 `https://github.com/nodejs/nodejs.org/blob/main/apps/site/pages/en/${filename}`;

Callers 2

compileFunction · 0.90
github.test.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected