{"_id":"left-pad","_rev":"70233","name":"left-pad","description":"String left pad","dist-tags":{"latest":"1.3.0"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"time":{"modified":"2021-06-03T10:23:12.000Z","created":"2014-03-14T09:09:20.762Z","1.3.0":"2018-04-09T01:10:45.796Z","1.2.0":"2017-11-17T05:48:38.934Z","1.1.3":"2016-10-01T08:01:07.703Z","1.1.2":"2016-09-24T10:25:01.998Z","1.1.1":"2016-07-08T11:25:40.531Z","1.1.0":"2016-05-01T11:06:11.595Z","1.0.2":"2016-04-13T16:59:21.924Z","1.0.1":"2016-03-23T00:00:19.758Z","0.0.9":"2016-03-22T21:51:19.774Z","0.0.3":"2016-03-22T21:51:19.774Z","1.0.0":"2016-03-22T21:42:18.002Z","0.0.4":"2015-05-20T04:04:04.473Z","0.0.2":"2014-08-15T07:13:09.056Z","0.0.1":"2014-08-14T03:31:03.146Z","0.0.0":"2014-03-14T09:09:20.762Z"},"users":{"hustliu":true,"chriskwan":true,"bishbashbosh":true,"vigo":true,"piecioshka":true,"alexyan":true,"krishaamer":true,"programmer5000":true,"iusfof":true,"tooyond":true,"sharper":true,"ubitso4":true},"author":{"name":"azer"},"repository":{"url":"git+ssh://git@github.com/stevemao/left-pad.git","type":"git"},"versions":{"1.3.0":{"name":"left-pad","version":"1.3.0","description":"String left pad","main":"index.js","types":"index.d.ts","scripts":{"test":"node test","bench":"node perf/perf.js"},"devDependencies":{"benchmark":"^2.1.0","fast-check":"0.0.8","tape":"*"},"keywords":["leftpad","left","pad","padding","string","repeat"],"repository":{"url":"git+ssh://git@github.com/stevemao/left-pad.git","type":"git"},"author":{"name":"azer"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"license":"WTFPL","gitHead":"ff8e7ba8b4122829cf66125ca8445cac7f073bce","bugs":{"url":"https://github.com/stevemao/left-pad/issues"},"homepage":"https://github.com/stevemao/left-pad#readme","_id":"left-pad@1.3.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"5b8a3a7765dfe001261dde915589e782f8c94d1e","size":3619,"noattachment":false,"key":"/left-pad/-/left-pad-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.3.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/left-pad_1.3.0_1523236245678_0.2849598021556574"},"_hasShrinkwrap":false,"publish_time":1523236245796,"_cnpm_publish_time":1523236245796,"deprecated":"use String.prototype.padStart()"},"1.2.0":{"name":"left-pad","version":"1.2.0","description":"String left pad","main":"index.js","types":"index.d.ts","scripts":{"test":"node test","bench":"node perf/perf.js"},"devDependencies":{"benchmark":"^2.1.0","tape":"*"},"keywords":["leftpad","left","pad","padding","string","repeat"],"repository":{"url":"git+ssh://git@github.com/stevemao/left-pad.git","type":"git"},"author":{"name":"azer"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"license":"WTFPL","gitHead":"1f8f21b762a7426a7c73286d854c07d9f9e78486","bugs":{"url":"https://github.com/stevemao/left-pad/issues"},"homepage":"https://github.com/stevemao/left-pad#readme","_id":"left-pad@1.2.0","_shasum":"d30a73c6b8201d8f7d8e7956ba9616087a68e0ee","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"d30a73c6b8201d8f7d8e7956ba9616087a68e0ee","size":3161,"noattachment":false,"key":"/left-pad/-/left-pad-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.2.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/left-pad-1.2.0.tgz_1510897718867_0.7524343002587557"},"directories":{},"publish_time":1510897718934,"_cnpm_publish_time":1510897718934,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"1.1.3":{"name":"left-pad","version":"1.1.3","description":"String left pad","main":"index.js","scripts":{"test":"node test","bench":"node perf/perf.js"},"devDependencies":{"benchmark":"^2.1.0","tape":"*"},"keywords":["leftpad","left","pad","padding","string","repeat"],"repository":{"url":"git+ssh://git@github.com/stevemao/left-pad.git","type":"git"},"author":{"name":"azer"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"license":"WTFPL","gitHead":"aff6d744155a70b81f09effb8185a1564f348462","bugs":{"url":"https://github.com/stevemao/left-pad/issues"},"homepage":"https://github.com/stevemao/left-pad#readme","_id":"left-pad@1.1.3","_shasum":"612f61c033f3a9e08e939f1caebeea41b6f3199a","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"612f61c033f3a9e08e939f1caebeea41b6f3199a","size":2972,"noattachment":false,"key":"/left-pad/-/left-pad-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.1.3.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/left-pad-1.1.3.tgz_1475308865139_0.9894974469207227"},"directories":{},"publish_time":1475308867703,"_cnpm_publish_time":1475308867703,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"1.1.2":{"name":"left-pad","version":"1.1.2","description":"String left pad","main":"index.js","scripts":{"test":"node test","bench":"node perf/perf.js"},"devDependencies":{"benchmark":"^2.1.0","tape":"*"},"keywords":["leftpad","left","pad","padding","string","repeat"],"repository":{"url":"git+ssh://git@github.com/stevemao/left-pad.git","type":"git"},"author":{"name":"azer"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"license":"WTFPL","gitHead":"7898e3308e3e0968e614ae2d6aa6f03e301b403e","bugs":{"url":"https://github.com/stevemao/left-pad/issues"},"homepage":"https://github.com/stevemao/left-pad#readme","_id":"left-pad@1.1.2","_shasum":"b46d4b36116fafb6f2814c30ecf3247bdfd842f7","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"b46d4b36116fafb6f2814c30ecf3247bdfd842f7","size":2133,"noattachment":false,"key":"/left-pad/-/left-pad-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/left-pad-1.1.2.tgz_1474712701766_0.3794678670819849"},"directories":{},"publish_time":1474712701998,"_cnpm_publish_time":1474712701998,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"1.1.1":{"name":"left-pad","version":"1.1.1","description":"String left pad","main":"index.js","scripts":{"test":"node test","bench":"node perf/perf.js"},"devDependencies":{"benchmark":"^2.1.0","tape":"*"},"keywords":["leftpad","left","pad","padding","string","repeat"],"repository":{"url":"git+ssh://git@github.com/stevemao/left-pad.git","type":"git"},"author":{"name":"azer"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"license":"WTFPL","gitHead":"3c576430b8726e7ce7e2d32009a6068186b7bdf4","bugs":{"url":"https://github.com/stevemao/left-pad/issues"},"homepage":"https://github.com/stevemao/left-pad#readme","_id":"left-pad@1.1.1","_shasum":"ca566bbdd84b90cc5969ac1726fda51f9d936a3c","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"ca566bbdd84b90cc5969ac1726fda51f9d936a3c","size":1999,"noattachment":false,"key":"/left-pad/-/left-pad-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/left-pad-1.1.1.tgz_1467977138049_0.0575787469279021"},"directories":{},"publish_time":1467977140531,"_cnpm_publish_time":1467977140531,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"1.1.0":{"name":"left-pad","version":"1.1.0","description":"String left pad","main":"index.js","scripts":{"test":"node test","bench":"node perf/perf.js"},"devDependencies":{"benchmark":"^2.1.0","tape":"*"},"keywords":["leftpad","left","pad","padding","string","repeat"],"repository":{"url":"git+ssh://git@github.com/stevemao/left-pad.git","type":"git"},"author":{"name":"azer"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"license":"WTFPL","gitHead":"a29ab44870cac35b2a20c1e8aa95be77d19f0892","bugs":{"url":"https://github.com/stevemao/left-pad/issues"},"homepage":"https://github.com/stevemao/left-pad#readme","_id":"left-pad@1.1.0","_shasum":"47a2daf581ede454334dee6c6036cae00d912e4d","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"47a2daf581ede454334dee6c6036cae00d912e4d","size":1718,"noattachment":false,"key":"/left-pad/-/left-pad-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/left-pad-1.1.0.tgz_1462100769265_0.8418141445145011"},"directories":{},"publish_time":1462100771595,"_cnpm_publish_time":1462100771595,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"1.0.2":{"name":"left-pad","version":"1.0.2","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git+ssh://git@github.com/camwest/left-pad.git","type":"git"},"author":{"name":"azer"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"license":"WTFPL","gitHead":"9def1f4e82f9b3c3d31ae035dd7362512afdec40","bugs":{"url":"https://github.com/camwest/left-pad/issues"},"homepage":"https://github.com/camwest/left-pad#readme","_id":"left-pad@1.0.2","_shasum":"7102f947fb123ca53073dd556220b55320fc6bdf","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"westlac","email":"cameron.westland@autodesk.com"},"dist":{"shasum":"7102f947fb123ca53073dd556220b55320fc6bdf","size":905,"noattachment":false,"key":"/left-pad/-/left-pad-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/left-pad-1.0.2.tgz_1460566759509_0.5977452478837222"},"directories":{},"publish_time":1460566761924,"_cnpm_publish_time":1460566761924,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"1.0.1":{"name":"left-pad","version":"1.0.1","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git+ssh://git@github.com/camwest/left-pad.git","type":"git"},"author":{"name":"azer"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"license":"WTFPL","gitHead":"c2222c620ac4c1cbdab73a77c1bffa7bd6fa4f3c","bugs":{"url":"https://github.com/camwest/left-pad/issues"},"homepage":"https://github.com/camwest/left-pad#readme","_id":"left-pad@1.0.1","_shasum":"d11b8e17e70e6ecb3b6bf2858fa99c40f819d13a","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"westlac","email":"cameron.westland@autodesk.com"},"dist":{"shasum":"d11b8e17e70e6ecb3b6bf2858fa99c40f819d13a","size":818,"noattachment":false,"key":"/left-pad/-/left-pad-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/left-pad-1.0.1.tgz_1458691219119_0.3859664376359433"},"directories":{},"publish_time":1458691219758,"_cnpm_publish_time":1458691219758,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"0.0.9":{"name":"left-pad","version":"0.0.9","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git+ssh://git@github.com/azer/left-pad.git","type":"git"},"author":{"name":"azer"},"license":"WTFPL","gitHead":"bff80e3ef0db0bfaba7698606c4f623433d14355","bugs":{"url":"https://github.com/azer/left-pad/issues"},"homepage":"https://github.com/azer/left-pad#readme","_id":"left-pad@0.0.9","_shasum":"1a164117f1e7234422943046a9c89eb19cb097e3","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"westlac","email":"cameron.westland@autodesk.com"},"dist":{"shasum":"1a164117f1e7234422943046a9c89eb19cb097e3","size":679,"noattachment":false,"key":"/left-pad/-/left-pad-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-0.0.9.tgz"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/left-pad-0.0.9.tgz_1458683479222_0.324808832956478"},"directories":{},"publish_time":1458683479774,"_cnpm_publish_time":1458683479774,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"0.0.3":{"name":"left-pad","version":"0.0.3","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git+ssh://git@github.com/azer/left-pad.git","type":"git"},"author":{"name":"azer"},"license":"WTFPL","gitHead":"bff80e3ef0db0bfaba7698606c4f623433d14355","bugs":{"url":"https://github.com/azer/left-pad/issues"},"homepage":"https://github.com/azer/left-pad#readme","_id":"left-pad@0.0.3","_shasum":"04d99b4a1eaf9e5f79c05e5d745d53edd1aa8aa1","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"westlac","email":"cameron.westland@autodesk.com"},"dist":{"shasum":"04d99b4a1eaf9e5f79c05e5d745d53edd1aa8aa1","size":664,"noattachment":false,"key":"/left-pad/-/left-pad-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-0.0.3.tgz"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{},"publish_time":1458683479774,"_cnpm_publish_time":1458683479774,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"1.0.0":{"name":"left-pad","version":"1.0.0","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git@github.com:azer/left-pad.git","type":"git"},"author":"azer","license":"WTFPL","_id":"left-pad@1.0.0","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"c84e2417581bbb8eaf2b9e3d7a122e572ab1af37","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"c84e2417581bbb8eaf2b9e3d7a122e572ab1af37","size":678,"noattachment":false,"key":"/left-pad/-/left-pad-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-1.0.0.tgz"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{},"publish_time":1458682938002,"_cnpm_publish_time":1458682938002,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"0.0.4":{"name":"left-pad","version":"0.0.4","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git@github.com:azer/left-pad.git","type":"git"},"author":"azer","license":"BSD","_id":"left-pad@0.0.4","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"c711852bdfbe725013b13b7652716673a714a068","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"c711852bdfbe725013b13b7652716673a714a068","size":687,"noattachment":false,"key":"/left-pad/-/left-pad-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-0.0.4.tgz"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{},"publish_time":1432094644473,"_cnpm_publish_time":1432094644473,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"0.0.2":{"name":"left-pad","version":"0.0.2","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git@github.com:azer/left-pad.git","type":"git"},"author":"azer","license":"BSD","_id":"left-pad@0.0.2","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"227f6741b9ffca35133c3461ea4b3a173c1e27d3","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"227f6741b9ffca35133c3461ea4b3a173c1e27d3","size":664,"noattachment":false,"key":"/left-pad/-/left-pad-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-0.0.2.tgz"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{},"publish_time":1408086789056,"_cnpm_publish_time":1408086789056,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"0.0.1":{"name":"left-pad","version":"0.0.1","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git@github.com:azer/left-pad.git","type":"git"},"author":"azer","license":"BSD","_id":"left-pad@0.0.1","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"dd5c2286864eabb1979d6c687a9655e2f92d56fa","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"dd5c2286864eabb1979d6c687a9655e2f92d56fa","size":658,"noattachment":false,"key":"/left-pad/-/left-pad-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-0.0.1.tgz"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{},"publish_time":1407987063146,"_cnpm_publish_time":1407987063146,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"},"0.0.0":{"name":"left-pad","version":"0.0.0","description":"String left pad","main":"index.js","scripts":{"test":"node test"},"devDependencies":{"tape":"*"},"keywords":["leftpad","left","pad","padding","string"],"repository":{"url":"git@github.com:azer/left-pad.git","type":"git"},"author":"azer","license":"BSD","_id":"left-pad@0.0.0","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"f184c611c3b39c892bb1f38c578615f1e8dfffe4","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"f184c611c3b39c892bb1f38c578615f1e8dfffe4","size":639,"noattachment":false,"key":"/left-pad/-/left-pad-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/left-pad/download/left-pad-0.0.0.tgz"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{},"publish_time":1394788160762,"_cnpm_publish_time":1394788160762,"_hasShrinkwrap":false,"deprecated":"use String.prototype.padStart()"}},"readme":"## left-pad\n\nString left pad\n\n[![Build Status][travis-image]][travis-url]\n\n## Install\n\n```bash\n$ npm install left-pad\n```\n\n## Usage\n\n```js\nconst leftPad = require('left-pad')\n\nleftPad('foo', 5)\n// => \"  foo\"\n\nleftPad('foobar', 6)\n// => \"foobar\"\n\nleftPad(1, 2, '0')\n// => \"01\"\n\nleftPad(17, 5, 0)\n// => \"00017\"\n```\n\n**NOTE:** The third argument should be a single `char`. However the module doesn't throw an error if you supply more than one `char`s. See [#28](https://github.com/stevemao/left-pad/pull/28).\n\n**NOTE:** Characters having code points outside of [BMP plan](https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane) are considered a two distinct characters. See [#58](https://github.com/stevemao/left-pad/issues/58).\n\n[travis-image]: https://travis-ci.org/stevemao/left-pad.svg?branch=master\n[travis-url]: https://travis-ci.org/stevemao/left-pad\n","_attachments":{},"homepage":"https://github.com/stevemao/left-pad#readme","bugs":{"url":"https://github.com/stevemao/left-pad/issues"},"license":"WTFPL"}