repeat-string92.2mMIT1.6.1Repeat the given string n times. Fastest implementation for repeating a string.
jonschlinkertalmost 3 years 前fast, fastest, fill, left trim-newlines77.9mMIT5.0.0Trim newlines from the start and/or end of a string
sindresorhusabout 2 years 前trim, newline, newlines, linebreak pad-right5.9mMIT0.2.2Right pad a string with zeros or a specified string. Fastest implementation.
jonschlinkertabout 3 years 前align, alignment, fill, left pad-left1.2mMIT2.1.0Left pad a string with zeros or a specified string. Fastest implementation.
jonschlinkertabout 3 years 前align, fill, left, pad