UNPKG

auspice

Version:

Web app for visualizing pathogen evolution

7 lines (5 loc) 161 B
'use strict'; var ansiRegex = require('ansi-regex')(); module.exports = function (str) { return typeof str === 'string' ? str.replace(ansiRegex, '') : str; };