'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; };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
index.js | File | 191 B | 0644 |
|
license | File | 1.08 KB | 0644 |
|
package.json | File | 1.94 KB | 0644 |
|
readme.md | File | 914 B | 0644 |
|