PHP 8.2.30
Preview: index.js Size: 153 B
/proc/self/root/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules/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)));

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
153 B lrw-r--r-- 2021-09-28 10:29:12
Edit Download
1.08 KB lrw-r--r-- 2021-09-28 10:29:12
Edit Download
1.86 KB lrw-r--r-- 2021-09-28 10:29:12
Edit Download
914 B lrw-r--r-- 2021-09-28 10:29:12
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).