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