diff options
Diffstat (limited to 'node_modules/widest-line/index.js')
-rw-r--r-- | node_modules/widest-line/index.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/node_modules/widest-line/index.js b/node_modules/widest-line/index.js deleted file mode 100644 index a9865d0..0000000 --- a/node_modules/widest-line/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'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; -}; |