{"_id":"string.prototype.repeat","_rev":"166641","name":"string.prototype.repeat","description":"A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"mathias","email":""},{"name":"nicolo-ribaudo","email":""}],"time":{"modified":"2021-06-03T11:46:42.000Z","created":"2013-12-20T14:00:23.643Z","1.0.0":"2020-05-21T22:10:11.062Z","0.2.0":"2014-04-10T18:28:21.755Z","0.1.0":"2013-12-20T14:00:23.643Z"},"users":{},"author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/String.prototype.repeat.git"},"versions":{"1.0.0":{"name":"string.prototype.repeat","version":"1.0.0","description":"A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.","homepage":"https://mths.be/repeat","main":"index.js","exports":{".":"./index.js","./auto":"./auto.js","./shim":"./shim.js","./getPolyfill":"./getPolyfill.js","./implementation":"./implementation.js","./package.json":"./package.json"},"keywords":["string","repeat","es6","ecmascript","polyfill"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/String.prototype.repeat.git"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.repeat/issues"},"scripts":{"pretest":"es-shim-api --bound","test":"npm run tests-only","tests-only":"tape 'tests/*.js'","cover":"istanbul cover --report html --verbose --dir coverage tape 'tests/*.js'"},"dependencies":{"define-properties":"^1.1.3","es-abstract":"^1.17.5"},"devDependencies":{"@es-shims/api":"^2.1.2","function-bind":"^1.1.1","functions-have-names":"^1.2.1","istanbul":"^0.4.5","tape":"^5.0.0"},"gitHead":"43a37c2cb6e735483d8b76dc805f3a1c87e8315f","_id":"string.prototype.repeat@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"e90872ee0308b29435aa26275f6e1b762daee01a","size":3638,"noattachment":false,"key":"/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string.prototype.repeat/download/string.prototype.repeat-1.0.0.tgz"},"maintainers":[{"name":"mathias","email":""},{"name":"nicolo-ribaudo","email":""}],"_npmUser":{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string.prototype.repeat_1.0.0_1590099010942_0.659492829599307"},"_hasShrinkwrap":false,"publish_time":1590099011062,"_cnpm_publish_time":1590099011062},"0.2.0":{"name":"string.prototype.repeat","version":"0.2.0","description":"A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.","homepage":"http://mths.be/repeat","main":"repeat.js","keywords":["string","repeat","es6","ecmascript","polyfill"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/String.prototype.repeat.git"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.repeat/issues"},"files":["LICENSE-MIT.txt","repeat.js"],"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js","cover":"istanbul cover --report html --verbose --dir coverage tests/tests.js"},"_id":"string.prototype.repeat@0.2.0","dist":{"shasum":"aba36de08dcee6a5a337d49b2ea1da1b28fc0ecf","size":2366,"noattachment":false,"key":"/string.prototype.repeat/-/string.prototype.repeat-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string.prototype.repeat/download/string.prototype.repeat-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":""},{"name":"nicolo-ribaudo","email":""}],"publish_time":1397154501755,"_cnpm_publish_time":1397154501755,"_hasShrinkwrap":false},"0.1.0":{"name":"string.prototype.repeat","version":"0.1.0","description":"A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.","homepage":"http://mths.be/repeat","main":"repeat.js","keywords":["string","repeat","es6","ecmascript","polyfill"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/String.prototype.repeat.git"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.repeat/issues"},"files":["LICENSE-MIT.txt","repeat.js"],"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js","cover":"istanbul cover --report html --verbose --dir coverage tests/tests.js"},"readmeFilename":"README.md","_id":"string.prototype.repeat@0.1.0","dist":{"shasum":"f9c2ef835e504a2f1033d998ae62c419ee02147b","size":2256,"noattachment":false,"key":"/string.prototype.repeat/-/string.prototype.repeat-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string.prototype.repeat/download/string.prototype.repeat-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":""},{"name":"nicolo-ribaudo","email":""}],"publish_time":1387548023643,"_cnpm_publish_time":1387548023643,"_hasShrinkwrap":false}},"readme":"# ES6 `String.prototype.repeat` polyfill [![Build status](https://travis-ci.org/mathiasbynens/String.prototype.repeat.svg?branch=master)](https://travis-ci.org/mathiasbynens/String.prototype.repeat)\n\nA robust & optimized polyfill for [the `String.prototype.repeat` method in ECMAScript 6](http://ecma-international.org/ecma-262/6.0/#sec-string.prototype.repeat).\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-string.prototype.repeat).\n\nOther polyfills for `String.prototype.repeat` are available:\n\n* <https://github.com/paulmillr/es6-shim/blob/d8c4ec246a15e7df55da60b7f9b745af84ca9021/es6-shim.js#L146-L154> by [Paul Miller](http://paulmillr.com/) (~~[fails 8 tests](https://github.com/paulmillr/es6-shim/issues/164)~~ now passes all tests)\n\n## Installation\n\nVia [npm](https://www.npmjs.com/):\n\n```bash\nnpm install string.prototype.repeat\n```\n\nThen, in [Node.js](https://nodejs.org/):\n\n```js\nvar repeat = require('string.prototype.repeat');\n```\n\nIn a browser:\n\n```html\n<script src=\"https://bundle.run/string.prototype.repeat\"></script>\n```\n\n> **NOTE**: It's recommended that you install this module using a package manager\n> such as `npm`, because loading multiple polyfills from a CDN (such as `bundle.run`)\n> will lead to duplicated code.\n\n## Author\n\n| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](https://mathiasbynens.be/) |\n\n## License\n\nThis polyfill is available under the [MIT](https://mths.be/mit) license.\n","_attachments":{},"homepage":"https://mths.be/repeat","bugs":{"url":"https://github.com/mathiasbynens/String.prototype.repeat/issues"},"license":"MIT"}