Skip to content

@pumpkin-plugins/codemod API / codemods/pumpkin-api/package-path / normalizePackagePath

Function: normalizePackagePath() ​

normalizePackagePath(value): string | undefined

Defined in: codemods/pumpkin-api/package-path.ts:4

Normalizes a path only when it stays inside the package directory.

Parameters ​

value ​

string

Returns ​

string | undefined

pumpkin-plugins documentation