mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 07:01:07 +03:30
8 lines
220 B
JavaScript
Vendored
8 lines
220 B
JavaScript
Vendored
'use strict';
|
|
const ansiRegex = require('ansi-regex');
|
|
|
|
const stripAnsi = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
|
|
|
|
module.exports = stripAnsi;
|
|
module.exports.default = stripAnsi;
|