1.0.0 ā¢ Published 5 years ago
widest-string v1.0.0
Welcome to widest-string š
Get the visual width of the widest line in a array of strings - the number of columns required to display it
š Homepage
Install
npm install
Usage
const widestString = require('widest-string');
console.log(widestString([
'Hello',
'Hello World',
'Hello\nWorld'
])) // 11, because 'Hello World' has 11 symols
Run tests
npm run test
Author
š¤ Grigorii Horos
- Github: @horosgrisa
š¤ Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a āļø if this project helped you!
š License
Copyright Ā© 2019 Grigorii Horos.
This project is GPL-3.0-or-later licensed.
This README was generated with ā¤ļø by readme-md-generator
1.0.0
5 years ago