Skip to content

Function: name()

name(cwd?): string

Resolve a human-friendly project name for the repo rooted at cwd: package.json name, then the git remote’s repo name, then the root directory’s basename.

string

string