Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/developit/microbundle
/ strip
Function
strip
test/lib/util.js:3–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
stripAnsi from
'strip-ansi'
;
2
3
export
const
strip = s =>
4
stripAnsi(s).replace(/(?:^[\n\s]+|[\n\s]+$|(^|\n)\s+)/gm,
'$1'
);
Callers
1
index.test.js
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…