MCPcopy Create free account
hub / github.com/webpro-nl/knip / tightList

Function tightList

packages/docs/scripts/generate-plugin-docs.ts:18–18  ·  view source on GitHub ↗
(items: string[])

Source from the content-addressed store, hash-verified

16const looseList = (items: string[]) => items.map(item => `- ${item}`).join('\n\n');
17
18const tightList = (items: string[]) => items.map(item => `- ${item}`).join('\n');
19
20const printCode = (value: unknown): string =>
21 Array.isArray(value)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected