MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / normalizeSourceInput

Function normalizeSourceInput

src/commands/create.ts:32–34  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

30}
31
32function normalizeSourceInput(value: string): string {
33 return value.trim().replace(/^npx\s+skills\s+add\s+/u, "");
34}
35
36function parseSourceInput(value: string): {
37 source: string;

Callers 1

parseSourceInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected