MCPcopy 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

1import stripAnsi from 'strip-ansi';
2
3export const strip = s =>
4 stripAnsi(s).replace(/(?:^[\n\s]+|[\n\s]+$|(^|\n)\s+)/gm, '$1');

Callers 1

index.test.jsFile · 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…