mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
640e188270
Former-commit-id: 435fb8e3e4f8e334ad3b0e95052edbdd9547d197
5 lines
154 B
JavaScript
5 lines
154 B
JavaScript
'use strict';
|
|
const ansiRegex = require('ansi-regex');
|
|
|
|
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
|