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

Function getInstallCommand

app/utils/install-command.ts:110–112  ·  view source on GitHub ↗
(options: InstallCommandOptions)

Source from the content-addressed store, hash-verified

108 * Generate the full install command for a package.
109 */
110export function getInstallCommand(options: InstallCommandOptions): string {
111 return getInstallCommandParts(options).join(' ')
112}
113
114/**
115 * Generate install command as an array of parts.

Callers 2

useInstallCommandFunction · 0.85

Calls 1

getInstallCommandPartsFunction · 0.85

Tested by

no test coverage detected