Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
var stripAnsi = require('strip-ansi') var wcwidth = require('wcwidth') module.exports = function(str) { return wcwidth(stripAnsi(str)) }