break-string
Break string into lines according to visual width
Break string into lines according to visual width
Advanced string formatting for the CLI
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Another logger using template literals for nodejs and browsers
Better array support for Javascript
Better number support for Javascript
A package that allows you to manipulate strings in many ways.
Convert string to color
str
Check if a string has consecutive characters
给String内置对象通过原型添加一个去除首尾空格的方法
String styling helpers inspired by Chalk
Random short string.
multibyte substr
Multiline strings in JavaScript (with Doug Crockford's String supplant)
A better console.log for terminal
Terminal string styling done right. Much color.
Transform ES2015 Promise to Stream - specifically, Transform Stream using [through2][]. Works in object mode by default, but you can pass options directly to the [through2][] package.
Indent each line in a string
indentation of a string