{"name":"repeating","version":"4.0.0","description":"Repeat a string - fast","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/repeating.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["repeat","string","repeating","text","fill","pad"],"devDependencies":{"ava":"^3.15.0","xo":"^0.39.1"},"gitHead":"f4ab25a9a7dfbdfb5f61b514406a5ba2487be0dd","bugs":{"url":"https://github.com/sindresorhus/repeating/issues"},"homepage":"https://github.com/sindresorhus/repeating#readme","_id":"repeating@4.0.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-wybN0Oi4s+to0yHMzZGbUgUR10107oB0HzUNqCrLQNw5sYIRhx+xp3L03KPqYkBxG0ilfX//vGT2PyNfUfOxYw==","shasum":"39e309b31b2a67f628cb01db0c8ea1604ca81cfd","tarball":"http://registry-npm.ywwl.com/repeating/download/repeating-4.0.0.tgz","fileCount":4,"unpackedSize":4215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkEnFCRA9TVsSAnZWagAAsNUP/j9LGb2iwz9tFq1xoyuX\nn/b33sinBLJOI2e2YRSrFssqbnge3WCgSlZzv5VpJNH1EAEa3lNqwAREkZgn\n8CZNaIyYsz4MzAt7eq15Qk06vWcDuOmcuyQ0tIY+9HyxrcsXpjd+jAkLnXsK\nS2vvqPNK7RtUwOGv0OUm/uXTza+RL8Zi5J5LC5rSgF3nw92QbHSJPXvG0t64\nNih1Sll8TzcmFMRJ1+ovwOKsKZ2JpjVqmSS/zFua/24zbH/5NUt8p2jztDR7\nYQcNtbi008ZOBUQUHFgLX2NEZ4SRUIdN8o20/exWaZSesbLAEesDEOszJ4Jk\nhnlKImihwTpfIRvomjP7WgRIZgdiSmY6f1g3UdHNpmBS6fvI/JQcDhUMldGF\ndsx4EIMcdv0YE4JYOtHGTnQiNiKo9BCV4XGrTd3IxvEcB3aLgiuz2RADUrT2\nq/d7OwWjpu8n9w6YQ38JZuFECxOXTV32kweImClOPS0stVwceHNa26401o9b\nz6ecAyqdy3KHe9Uf/shXHetfffB5qE3nQjY82hZkvsM6t87TV4ompgcMm9p3\nxLa/rBhkMPVui6KoplWvxuDflWwiYEafoDcf+pLGhGn1EVlRA1r0QQyTLzj4\npvlxFgV2Yh/OpYLj7W3Ua2qf7wq3rH9F9ODNn92yi6dUwDaw7nep0Tap7TBe\n1TH1\r\n=QHA4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFcuF1vQLMnULcLo92qebWfY+i8tev8PqPW0wvDUhRURAiARIJl/9kjrmOTjydvg3c3Ec4JzRFcecUeqXKoI1T+wjg=="}],"size":1942,"noattachment":false,"key":"/repeating/-/repeating-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/repeating_4.0.0_1620068804595_0.9058546954785984"},"_hasShrinkwrap":false,"readme":"# repeating\n\n> Repeat a string - fast\n\n**This module is moot now. Just use [`String#repeat()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat).**\n\n## Install\n\n```\n$ npm install repeating\n```\n\n## Usage\n\n```js\nimport repeating from 'repeating';\n\nrepeating(5);\n//=> '     '\n\nrepeating(100, 'unicorn ');\n//=> 'unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn '\n```\n\n## API\n\n### repeating(count, string?)\n\n#### count\n\nType: `number`\n\nTimes the `string` should be repeated.\n\n#### string\n\nType: `string`\\\nDefault: `' '`\n\nString to repeat.\n\n## Related\n\n- [repeating-cli](https://github.com/sindresorhus/repeating-cli) - CLI for this module\n- [indent-string](https://github.com/sindresorhus/indent-string) - Indent each line in a string\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-repeating?utm_source=npm-repeating&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","publish_time":1620068804748,"_cnpm_publish_time":1620068804748,"dist-tags":{"latest":"4.0.0"}}