ipdbot/node_modules/npm/node_modules/columnify/width.js
2022-04-18 15:32:07 +02:00

6 lines
140 B
JavaScript

var stripAnsi = require('strip-ansi')
var wcwidth = require('wcwidth')
module.exports = function(str) {
return wcwidth(stripAnsi(str))
}