github地址:https://github.com/ABCDdouyae... kind-of 判断数据类型用法:kind-of(date)返回:string 数据类型 January undefined null boolean string number function array regexp date arguments error buffer set weakset map weakmap symbol init8array unit8array uint8clampedarr…
[github地址:https://github.com/ABCDdouyae...] pad 给字符串的左右加padding,也可以用于删减字符串两端 用法:pad(str, length, options)|pad(length, str, options) options: char (string): 指定字符填充 colors (boolean):Ajust to hidden terminal color characters, you may also use require 'p…