MCPcopy Create free account
hub / github.com/npm/cli / indent

Function indent

lib/utils/npm-usage.js:8–8  ·  view source on GitHub ↗
(repeat = INDENT)

Source from the content-addressed store, hash-verified

6const INDENT = 4
7
8const indent = (repeat = INDENT) => ' '.repeat(repeat)
9const indentNewline = (repeat) => `\n${indent(repeat)}`
10
11module.exports = (npm) => {

Callers 3

indentNewlineFunction · 0.85
npm-usage.jsFile · 0.85
cmdUsagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected