Get the longest line length of a string.
npm install longest-line> Get the longest line length of a string.
> It also correctly calculate the length of the line containing ansi escape codes.
```
$ npm install --save longest-line
`js
var longestLine = require('longest-line');
longestLine('Supercalifragilisticexpialidocious\n is long\n word');
//=> 34
longestLine('\u001b1mthis\u001b[22m\n is a dummy\n text');
//=> 11
`
#### input
Required
Type: string
#### options
##### stripAnsiCodes
Type: boolean true`
Default:
Get the real length of a string.
MIT © [Danilo Sampaio