mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-30 12:32:47 +00:00
6 lines
153 B
JavaScript
6 lines
153 B
JavaScript
'use strict';
|
|
const stringWidth = require('string-width');
|
|
|
|
module.exports = input => Math.max.apply(null, input.split('\n').map(x => stringWidth(x)));
|
|
|