MCPcopy Create free account
hub / github.com/code-pushup/cli / create

Function create

examples/plugins/src/file-size/src/file-size.plugin.ts:78–87  ·  view source on GitHub ↗
(options: PluginOptions)

Source from the content-addressed store, hash-verified

76 * }
77 */
78export function create(options: PluginOptions): PluginConfig {
79 return {
80 slug: pluginSlug,
81 title: 'File Size',
82 icon: 'folder-javascript',
83 description: 'A plugin to measure and assert size of files in a directory.',
84 runner: () => runnerFunction(options),
85 audits,
86 };
87}
88
89export async function runnerFunction(
90 options: RunnerOptions,

Callers

nothing calls this directly

Calls 1

runnerFunctionFunction · 0.70

Tested by

no test coverage detected