Sha256: 38fd8e06617eff3b57374d108c021cefa9686ac76a8e944b285d1a83f2bb1e99
Contents?: true
Size: 232 Bytes
Versions: 14
Compression:
Stored size: 232 Bytes
Contents
// Trim formatting from string 'use strict'; var r = new RegExp('\x1b(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|' + '\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)', 'g'); module.exports = function (str) { return str.replace(r, ''); };
Version data entries
14 entries across 7 versions & 1 rubygems