Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ mapLines
Function
mapLines
lib/stats/DefaultStatsPrinterPlugin.js:111–111 ·
view source on GitHub ↗
(str, fn)
Source
from the content-addressed store, hash-verified
109
* @returns {string} joined string
110
*/
111
const
mapLines = (str, fn) => str.split(
"\n"
).map(fn).join(
"\n"
);
112
113
/**
114
* Returns number as two digit string, leading 0.
Callers
1
DefaultStatsPrinterPlugin.js
File · 0.85
Calls
1
split
Method · 0.80
Tested by
no test coverage detected