Your IP : 18.219.119.163


Current Path : /opt/alt/alt-nodejs14/root/lib/node_modules/npm/node_modules/widest-line/
Upload File :
Current File : //opt/alt/alt-nodejs14/root/lib/node_modules/npm/node_modules/widest-line/index.js

'use strict';
const stringWidth = require('string-width');

module.exports = input => {
	let max = 0;
	for (const s of input.split('\n')) max = Math.max(max, stringWidth(s));
	return max;
};

?>