MCPcopy
hub / github.com/rollup/rollup / deindent

Function deindent

test/testHelpers.js:137–139  ·  view source on GitHub ↗

* @param {string} stringValue

(stringValue)

Source from the content-addressed store, hash-verified

135 * @param {string} stringValue
136 */
137function deindent(stringValue) {
138 return stringValue.slice(1).replace(/^\t+/gm, '').replace(/\s+$/gm, '').trim();
139}
140
141exports.deindent = deindent;
142

Callers 1

testHelpers.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…