4
0
mirror of https://gitee.com/dcloud/uni-preset-vue synced 2025-05-05 11:02:55 +08:00
2018-11-18 16:29:14 +08:00

5 lines
150 B
JavaScript

'use strict';
const ansiRegex = require('ansi-regex');
module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;