mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-14 04:06:07 +09:00
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
const ansiRegex = require('ansi-regex');
|
||||
|
||||
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
|
||||
Reference in New Issue
Block a user