pad-left
Version:
Left pad a string with zeros or a specified string. Fastest implementation.
59 lines • 1.21 kB
JSON
{
"name": "pad-left",
"description": "Left pad a string with zeros or a specified string. Fastest implementation.",
"version": "2.0.0",
"homepage": "https://github.com/jonschlinkert/pad-left",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/pad-left",
"bugs": {
"url": "https://github.com/jonschlinkert/pad-left/issues"
},
"license": "MIT",
"main": "index.js",
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "mocha"
},
"dependencies": {
"repeat-string": "^1.5.2"
},
"devDependencies": {
"benchmarked": "^0.1.3",
"chalk": "^0.5.1",
"glob": "^4.3.5",
"should": "^4.6.1"
},
"keywords": [
"align",
"fill",
"left",
"pad",
"pad-left",
"padded",
"padding",
"spaces",
"string",
"zero",
"zero-fill",
"zeros"
],
"verb": {
"related": {
"list": [
"align-text",
"center-align",
"justified",
"pad-right",
"repeat-string",
"right-align",
"right-align-keys",
"right-align-values",
"right-pad-keys",
"right-pad-values",
"word-wrap"
]
}
}
}