File manager - Edit - /usr/local/lib/node_modules/ghost-cli/node_modules/widest-line/index.js
Back
'use strict'; const stringWidth = require('string-width'); const widestLine = input => { let max = 0; for (const line of input.split('\n')) { max = Math.max(max, stringWidth(line)); } return max; }; module.exports = widestLine; // TODO: remove this in the next major version module.exports.default = widestLine;
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings