MCPcopy Create free account
hub / github.com/remix-run/react-router / packageNameToDirectoryName

Function packageNameToDirectoryName

scripts/utils/packages.ts:75–77  ·  view source on GitHub ↗
(packageName: string)

Source from the content-addressed store, hash-verified

73 * "react-router" -> "react-router"
74 */
75export function packageNameToDirectoryName(packageName: string): string | null {
76 return getNpmPackageNameToDirectoryMap().get(packageName) ?? null;
77}
78
79/**
80 * Generates the git tag for a package release.

Callers 2

getChangelogEntryFunction · 0.90
mainFunction · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected