{"_id":"left-pad","_rev":"34-1594d57df5d614e327fea8b948761b88","name":"left-pad","time":{"modified":"2017-05-13T08:32:46.423Z","created":"2014-03-14T09:09:20.762Z","0.0.0":"2014-03-14T09:09:20.762Z","0.0.1":"2014-08-14T03:31:03.146Z","0.0.2":"2014-08-15T07:13:09.056Z","0.0.3":"2016-03-22T21:51:19.774Z","0.0.4":"2015-05-20T04:04:04.473Z","1.0.0":"2016-03-22T21:42:18.002Z","0.0.9":"2016-03-22T21:51:19.774Z","1.0.1":"2016-03-23T00:00:19.758Z","1.0.2":"2016-04-13T16:59:21.924Z","1.1.0":"2016-05-01T11:06:11.595Z","1.1.1":"2016-07-08T11:25:40.531Z","1.1.2":"2016-09-24T10:25:01.998Z","1.1.3":"2016-10-01T08:01:07.703Z"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"},{"name":"stevemao","email":"maochenyan@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"dist-tags":{"latest":"1.1.3"},"description":"String left pad","readme":"## left-pad\n\nString left pad\n\nTime complexity: **O(log(n))**\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[travis-image]: https://travis-ci.org/stevemao/left-pad.svg?branch=master\n[travis-url]: https://travis-ci.org/stevemao/left-pad\n","versions":{"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","tarball":"https://registry.npmjs.org/left-pad/-/left-pad-0.0.3.tgz"},"maintainers":[{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{}},"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","tarball":"https://registry.npmjs.org/left-pad/-/left-pad-0.0.9.tgz"},"maintainers":[{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{}},"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":"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","tarball":"https://registry.npmjs.org/left-pad/-/left-pad-1.0.1.tgz"},"directories":{}},"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","tarball":"https://registry.npmjs.org/left-pad/-/left-pad-0.0.0.tgz"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{}},"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","tarball":"https://registry.npmjs.org/left-pad/-/left-pad-0.0.1.tgz"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{}},"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","tarball":"https://registry.npmjs.org/left-pad/-/left-pad-0.0.2.tgz"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{}},"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","tarball":"https://registry.npmjs.org/left-pad/-/left-pad-0.0.4.tgz"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{}},"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","tarball":"https://registry.npmjs.org/left-pad/-/left-pad-1.0.0.tgz"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"},{"name":"westlac","email":"cameron.westland@autodesk.com"}],"directories":{}},"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":"sebmck","email":"sebmck@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","tarball":"https://registry.npmjs.org/left-pad/-/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":{}},"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":"sebmck","email":"sebmck@gmail.com"},{"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","tarball":"https://registry.npmjs.org/left-pad/-/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":{}},"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":"sebmck","email":"sebmck@gmail.com"},{"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","tarball":"https://registry.npmjs.org/left-pad/-/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":{}},"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":"sebmck","email":"sebmck@gmail.com"},{"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","tarball":"https://registry.npmjs.org/left-pad/-/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":{}},"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":"sebmck","email":"sebmck@gmail.com"},{"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","tarball":"https://registry.npmjs.org/left-pad/-/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":{}}},"homepage":"https://github.com/stevemao/left-pad#readme","keywords":["leftpad","left","pad","padding","string","repeat"],"repository":{"url":"git+ssh://git@github.com/stevemao/left-pad.git","type":"git"},"author":{"name":"azer"},"bugs":{"url":"https://github.com/stevemao/left-pad/issues"},"license":"WTFPL","readmeFilename":"README.md","users":{"hustliu":true,"chriskwan":true,"vigo":true,"bishbashbosh":true,"piecioshka":true,"alexyan":true,"krishaamer":true},"_attachments":{}}