Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

extractDefaultExportName

Extracts the category name from the given file path.

Presentation

function extractDefaultExportName(tree: Tree, filePath: string): string | null;

Returns

string | null -

{string | null} The category name.

Parameters

NameTypeDescription
tree
Tree
filePath
string