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: almost 3 years ago
Linked from 1 awesome list
fillleftpadrepeatstring
Related projects:
Repository | Description | Stars |
---|---|---|
sindresorhus/pad-stream | Transforms input streams by padding each line with a specified indent | 11 |
jonschlinkert/set-value | A library that allows you to set nested properties on an object using dot notation. | 272 |
jonschlinkert/array-last | Returns the last element(s) in an array | 35 |
jonschlinkert/array-first | Returns one or more elements from the beginning of an array | 11 |
jonschlinkert/arr-diff | Returns an array with unique values from multiple arrays using strict equality comparisons | 46 |
sindresorhus/strip-indent | Removes redundant indentation from a string by finding the minimum leading whitespace across all lines. | 135 |
scottcorgan/tap-dot | A tool that formats TAP test output with dots for better readability | 37 |
jonschlinkert/arr-flatten | Utility function to flatten arrays by recursively iterating over their elements | 60 |
sindresorhus/indent-string-cli | A command-line tool for indenting lines of text | 5 |
mathematic-inc/eslint-plugin-padding | A plugin that configures spacing between statements in code to improve readability. | 5 |
brettstimmerman/mensch | A CSS parsing library with an abstract syntax tree (AST) data structure | 113 |
jprichardson/string.js | Provides additional string manipulation methods in JavaScript without modifying the native prototype. | 1,809 |
jonschlinkert/deep-bind | Binds a context to all functions in an object and its nested functions | 9 |
jonschlinkert/get-value | A utility library that provides a simple way to access nested properties of objects using dot notation. | 247 |
sindresorhus/indent-string | A utility function to insert consistent indentation into a string | 112 |