mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 23:21:06 +03:30
7 lines
161 B
JavaScript
Vendored
7 lines
161 B
JavaScript
Vendored
'use strict';
|
|
var ansiRegex = require('ansi-regex')();
|
|
|
|
module.exports = function (str) {
|
|
return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
|
|
};
|