Package Exports
- repeat-string
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (repeat-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
repeat-string 
Repeat the given string n times. Fastest implementation for repeating a string.
Install with npm
npm i repeat-string --saveInstall with bower
bower install repeat-string --saveUsage
repeat
Repeat the given string the specified number of times.
string{String}: The string to repeatnumber{Number}: The number of times to repeat the stringreturns{String}: Repeated string
Example:
var repeat = require('repeat-string');
repeat('A', 5);
//=> AAAAAAuthor
Jon Schlinkert
Other javascript/node.js utils
Other projects that I maintain:
- assemble
- verb
- less.js
- handlebars-helpers
- arr
- arr-diff
- array-last
- array-slice
- array-sum
- arrayify-compact
- compact-object
- delete
- for-in
- for-own
- has-any
- has-value
- is-number
- is-plain-object
- mixin-deep
- mixin-object
- object-length
- omit-empty
- reduce-object
License
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on December 06, 2014. To update, run npm i -g verb && verb.