PHP 8.2.30
Preview: index.js Size: 152 B
/proc/self/root/opt/alt/alt-nodejs11/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
152 B lrw-r--r-- 2021-10-19 09:47:44
Edit Download
1.08 KB lrw-r--r-- 2021-10-19 09:47:44
Edit Download
1.86 KB lrw-r--r-- 2021-10-19 09:47:44
Edit Download
914 B lrw-r--r-- 2021-10-19 09:47:44
Edit Download

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