Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ trimLines
Method
trimLines
src/Bundle.js:254–256 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
252
}
253
254
trimLines() {
255
return
this.trim(
'[\\r\\n]'
);
256
}
257
258
trim(charType) {
259
return
this.trimStart(charType).trimEnd(charType);
Callers
1
MagicString.test.js
File · 0.45
Calls
1
trim
Method · 0.95
Tested by
no test coverage detected