Skip to content
Français

projectKey

Supporting contract not directly exported; use TypeScript inference or the public type that references it.

Return Claude’s project folder name for a repository path, used under ~/.claude/projects: every character other than an ASCII letter or digit becomes -.

  • pathRequired
    string
    Repository path to encode for Claude’s native project directory layout.

string

export declare function projectKey(path: string): string;