MCPcopy
hub / github.com/codedogQBY/ReadAny / formatOneContributor

Function formatOneContributor

packages/foliate-js/reader.js:58–59  ·  view source on GitHub ↗
(contributor)

Source from the content-addressed store, hash-verified

56};
57
58const formatOneContributor = (contributor) =>
59 typeof contributor === "string" ? contributor : formatLanguageMap(contributor?.name);
60
61const formatContributor = (contributor) =>
62 Array.isArray(contributor)

Callers 1

formatContributorFunction · 0.85

Calls 1

formatLanguageMapFunction · 0.85

Tested by

no test coverage detected