{"name":"repeating","version":"1.1.2","description":"Repeat a string - fast","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/repeating"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"repeating":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","bin","repeat","repeating","string","str","text","fill"],"dependencies":{"is-finite":"^1.0.0","meow":"^3.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"e9694d25e98f956f0c2848a8fc253ff8bab0f129","bugs":{"url":"https://github.com/sindresorhus/repeating/issues"},"homepage":"https://github.com/sindresorhus/repeating","_id":"repeating@1.1.2","_shasum":"dcced290c4d22df9818746eb5257679d27fe0283","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"dcced290c4d22df9818746eb5257679d27fe0283","tarball":"http://registry-npm.ywwl.com/repeating/download/repeating-1.1.2.tgz","integrity":"sha512-Ed2rZ99PNeqaz05PlwCNvjvmqyRXIvCqrLxrZ4s+JXYTscfzd+WbVlDZ5Uq1LsZd7pqmKypoYP6Gt6jUfwz34Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvyqYH4RwIL+EKIdBTmhOY55h9tYKbDtU0KAJ/leyZMAiBWBnbvGVJRVSceCfNj4Ds4DGEV42ONPiDhAwhXfBM/+g=="}],"size":1862,"noattachment":false,"key":"/repeating/-/repeating-1.1.2.tgz"},"directories":{},"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":1424109658646,"_cnpm_publish_time":1424109658646,"dist-tags":{"latest":"4.0.0"}}