pad-left
String padder
A fast implementation of left padding in strings with customizable characters and lengths.
Left pad a string with zeros or a specified string. Fastest implementation.
44 stars
3 watching
8 forks
Language: JavaScript
last commit: about 3 years ago
Linked from 1 awesome list
fillleftpadrepeatstring
Related projects:
Repository | Description | Stars |
---|---|---|
| Transforms input streams by padding each line with a specified indent | 11 |
| A library that allows you to set nested properties on an object using dot notation. | 272 |
| Returns the last element(s) in an array | 35 |
| Returns one or more elements from the beginning of an array | 11 |
| Returns an array with unique values from multiple arrays using strict equality comparisons | 46 |
| Removes redundant indentation from a string by finding the minimum leading whitespace across all lines. | 136 |
| A tool that formats TAP test output with dots for better readability | 37 |
| Utility function to flatten arrays by recursively iterating over their elements | 60 |
| A command-line tool for indenting lines of text | 5 |
| A plugin that configures spacing between statements in code to improve readability. | 5 |
| A CSS parsing library with an abstract syntax tree (AST) data structure | 114 |
| Provides additional string manipulation methods in JavaScript without modifying the native prototype. | 1,810 |
| Binds a context to all functions in an object and its nested functions | 9 |
| A utility library that provides a simple way to access nested properties of objects using dot notation. | 247 |
| A utility function to insert consistent indentation into a string | 112 |