MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / isCreatePackage

Function isCreatePackage

shared/utils/binary-detection.ts:38–41  ·  view source on GitHub ↗
(packageName: string)

Source from the content-addressed store, hash-verified

36 * Check if a package uses the create-* naming convention.
37 */
38export function isCreatePackage(packageName: string): boolean {
39 const baseName = packageName.startsWith('@') ? packageName.split('/')[1] : packageName
40 return baseName?.startsWith('create-') || packageName.includes('/create-') || false
41}

Callers 3

isBinaryOnlyPackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected