{"_id":"pad-start","_rev":"410989","name":"pad-start","description":"ES spec-compliant String.prototype.padStart shim.","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"bubkoo","email":""}],"time":{"modified":"2021-08-04T05:08:27.000Z","created":"2016-04-11T19:30:03.434Z","1.0.2":"2016-04-15T05:33:45.389Z","1.0.1":"2016-04-12T13:26:42.386Z","1.0.0":"2016-04-12T03:26:10.450Z","0.0.0":"2016-04-11T19:30:03.434Z"},"users":{},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/gearcase/pad-start.git"},"versions":{"1.0.2":{"name":"pad-start","version":"1.0.2","description":"ES spec-compliant String.prototype.padStart shim.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","pad","start","end","prefix","postfix","shim","polyfill","Ponyfill","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/gearcase/pad-start.git"},"bugs":{"url":"https://github.com/gearcase/pad-start/issues"},"homepage":"https://github.com/gearcase/pad-start#readme","testling":{"harness":"mocha-bdd","files":"test/index.js","browsers":["ie/6..latest","chrome/22..latest","firefox/16..latest","safari/5..latest","opera/11.0..latest","iphone/6","ipad/6","android-browser/latest"]},"devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"817502d9220cba146dd2cf130ec37d634f84e5b0","_id":"pad-start@1.0.2","_shasum":"23e5bab3e96446b62816cff6f150975f040d1b14","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"23e5bab3e96446b62816cff6f150975f040d1b14","size":2294,"noattachment":false,"key":"/pad-start/-/pad-start-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pad-start/download/pad-start-1.0.2.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pad-start-1.0.2.tgz_1460698423245_0.6039316153619438"},"directories":{},"publish_time":1460698425389,"_cnpm_publish_time":1460698425389,"_hasShrinkwrap":false},"1.0.1":{"name":"pad-start","version":"1.0.1","description":"ES spec-compliant String.prototype.padStart shim.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","pad","start","end","prefix","postfix","shim","polyfill","Ponyfill","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/pad-start.git"},"bugs":{"url":"https://github.com/bubkoo/pad-start/issues"},"homepage":"https://github.com/bubkoo/pad-start#readme","testling":{"harness":"mocha-bdd","files":"test/index.js","browsers":["ie/6..latest","chrome/22..latest","firefox/16..latest","safari/5..latest","opera/11.0..latest","iphone/6","ipad/6","android-browser/latest"]},"devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"a17be54ad87c3d4c8d33bdfae29742140aaab7b1","_id":"pad-start@1.0.1","_shasum":"d49132c7929c012cf7ba4ee3a6c1850e55c347da","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"d49132c7929c012cf7ba4ee3a6c1850e55c347da","size":2304,"noattachment":false,"key":"/pad-start/-/pad-start-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pad-start/download/pad-start-1.0.1.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pad-start-1.0.1.tgz_1460467600887_0.06905175652354956"},"directories":{},"publish_time":1460467602386,"_cnpm_publish_time":1460467602386,"_hasShrinkwrap":false},"1.0.0":{"name":"pad-start","version":"1.0.0","description":"ES spec-compliant String.prototype.padStart shim.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","pad","start","end","prefix","postfix","shim","polyfill","Ponyfill","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/pad-start.git"},"bugs":{"url":"https://github.com/bubkoo/pad-start/issues"},"homepage":"https://github.com/bubkoo/pad-start#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","jshint":"^2.9.1","mocha":"^2.4.5"},"gitHead":"fccba0ea79a887eea919116bf107d63f0e793d05","_id":"pad-start@1.0.0","_shasum":"2477be3fdc23a022b2b9491c85ac5d81f7f8660c","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"2477be3fdc23a022b2b9491c85ac5d81f7f8660c","size":2217,"noattachment":false,"key":"/pad-start/-/pad-start-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pad-start/download/pad-start-1.0.0.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pad-start-1.0.0.tgz_1460431567601_0.17866869107820094"},"directories":{},"publish_time":1460431570450,"_cnpm_publish_time":1460431570450,"_hasShrinkwrap":false},"0.0.0":{"name":"pad-start","version":"0.0.0","description":"Determines whether the passed value is an integer.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/pad-start.git"},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com","url":"https://github.com/bubkoo"},"license":"MIT","bugs":{"url":"https://github.com/bubkoo/pad-start/issues"},"homepage":"https://github.com/bubkoo/pad-start#readme","gitHead":"251876890aa04fe628a04ddad01e58b004ad7f09","_id":"pad-start@0.0.0","_shasum":"e71c6c96dda06c002a41464b1bfee20de5ce518e","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"e71c6c96dda06c002a41464b1bfee20de5ce518e","size":1105,"noattachment":false,"key":"/pad-start/-/pad-start-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pad-start/download/pad-start-0.0.0.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pad-start-0.0.0.tgz_1460403001092_0.9278526161797345"},"directories":{},"publish_time":1460403003434,"_cnpm_publish_time":1460403003434,"_hasShrinkwrap":false}},"readme":"# pad-start <sup>[![Version Badge](http://versionbadg.es/gearcase/pad-start.svg)](https://npmjs.org/package/pad-start)</sup>\n\n\n> ES spec-compliant String.prototype.padStart shim.\n\n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/gearcase/pad-start/blob/master/LICENSE)\n\n[![build:?](https://img.shields.io/travis/gearcase/pad-start/master.svg?style=flat-square)](https://travis-ci.org/gearcase/pad-start)\n[![coverage:?](https://img.shields.io/coveralls/gearcase/pad-start/master.svg?style=flat-square)](https://coveralls.io/github/gearcase/pad-start)\n\n\n\n## Install\n\n```\n$ npm install --save pad-start \n```\n\n\n## Usage\n\n> For more use-cases see the [tests](https://github.com/gearcase/pad-start/blob/master/test/spec/index.js)\n\n```js\n\n// a polyfill that doesn't overwrite the native method\n\nvar padStart = require('pad-start');\n\npadStart('x', 4, 'ab');        // => 'abax'\npadStart('x', 4);              // => '   x'\npadStart('abcd', 2, '#');      // => 'abcd'\npadStart('abcd', 6, '123456'); // => '12abcd'\n\n```\n\n\n## Related\n\n- [pad-end](https://github.com/gearcase/pad-end) - ES spec-compliant String.prototype.padEnd shim.\n- [start-with](https://github.com/gearcase/start-with) - Determines whether a string begins with the characters of another string.\n- [end-with](https://github.com/gearcase/end-with) - Determines whether a string ends with the characters of another string.\n\n\n\n## Contributing\n \nPull requests and stars are highly welcome. \n\nFor bugs and feature requests, please [create an issue](https://github.com/gearcase/pad-start/issues).\n\n","_attachments":{},"homepage":"https://github.com/gearcase/pad-start#readme","bugs":{"url":"https://github.com/gearcase/pad-start/issues"},"license":"MIT"}