Current Path : /opt/alt/alt-nodejs8/root/lib/node_modules/npm/node_modules.bundled/widest-line/ |
Current File : //opt/alt/alt-nodejs8/root/lib/node_modules/npm/node_modules.bundled/widest-line/index.js |
'use strict'; const stringWidth = require('string-width'); module.exports = input => Math.max.apply(null, input.split('\n').map(x => stringWidth(x)));