source:
node_modules/strip-ansi/index.js@
62b2964
| Last change on this file since 62b2964 was 81bc7da, checked in by , 3 months ago | |
|---|---|
|
|
| File size: 154 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | const ansiRegex = require('ansi-regex'); |
| 3 | |
| 4 | module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string; |
Note:
See TracBrowser
for help on using the repository browser.
