Socket
Socket
Sign inDemoInstall

repeat-string

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.1

LICENSE

2

index.js

@@ -5,3 +5,3 @@ /*!

* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License
* Licensed under the MIT License.
*/

@@ -8,0 +8,0 @@

{
"name": "repeat-string",
"description": "Repeat the given string n times. Fastest implementation for repeating a string.",
"version": "1.5.0",
"version": "1.5.1",
"homepage": "https://github.com/jonschlinkert/repeat-string",

@@ -21,2 +21,5 @@ "author": {

},
"files": [
"index.js"
],
"main": "index.js",

@@ -27,5 +30,4 @@ "engines": {

"scripts": {
"test": "mocha -R spec"
"test": "mocha"
},
"files": ["index.js"],
"devDependencies": {

@@ -32,0 +34,0 @@ "benchmarked": "^0.1.3",

@@ -1,2 +0,2 @@

# repeat-string [![NPM version](https://badge.fury.io/js/repeat-string.svg)](http://badge.fury.io/js/repeat-string)
# repeat-string [![NPM version](https://badge.fury.io/js/repeat-string.svg)](http://badge.fury.io/js/repeat-string) [![Build Status](https://travis-ci.org/jonschlinkert/repeat-string.svg)](https://travis-ci.org/jonschlinkert/repeat-string)

@@ -10,3 +10,3 @@ > Repeat the given string n times. Fastest implementation for repeating a string.

```
### Install with [bower](https://github.com/bower/bower)
## Install with [bower](https://github.com/bower/bower)

@@ -19,3 +19,3 @@ ```bash

### [repeat](index.js#L34)
### [repeat](./index.js#L34)

@@ -36,3 +36,2 @@ Repeat the given `string` the specified `number` of times.

## Benchmarks

@@ -72,38 +71,22 @@

### Other javascript/node.js utils
[repeat-element](https://github.com/jonschlinkert/repeat-element): Create an array by repeating the given string n times.
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/repeat-string/issues)
## Running tests
Install dev dependencies:
```bash
npm i -d && npm test
```
## Author
**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
### Other javascript/node.js utils
Other projects that I maintain:
- [assemble](https://github.com/jonschlinkert/assemble)
- [remarkable](https://github.com/jonschlinkert/remarkable)
- [less.js](https://github.com/jonschlinkert/less.js)
- [handlebars-helpers](https://github.com/jonschlinkert/handlebars-helpers)
- [verb](https://github.com/jonschlinkert/verb)
- [arr](https://github.com/jonschlinkert/arr)
- [arr-diff](https://github.com/jonschlinkert/arr-diff)
- [array-last](https://github.com/jonschlinkert/array-last)
- [array-slice](https://github.com/jonschlinkert/array-slice)
- [array-sum](https://github.com/jonschlinkert/array-sum)
- [arrayify-compact](https://github.com/jonschlinkert/arrayify-compact)
- [compact-object](https://github.com/jonschlinkert/compact-object)
- [delete](https://github.com/jonschlinkert/delete)
- [for-in](https://github.com/jonschlinkert/for-in)
- [for-own](https://github.com/jonschlinkert/for-own)
- [has-any](https://github.com/jonschlinkert/has-any)
- [has-value](https://github.com/jonschlinkert/has-value)
- [is-number](https://github.com/jonschlinkert/is-number)
- [is-plain-object](https://github.com/jonschlinkert/is-plain-object)
- [mixin-deep](https://github.com/jonschlinkert/mixin-deep)
- [mixin-object](https://github.com/jonschlinkert/mixin-object)
- [object-length](https://github.com/jonschlinkert/object-length)
- [omit-empty](https://github.com/jonschlinkert/omit-empty)
- [reduce-object](https://github.com/jonschlinkert/reduce-object)
## License

@@ -115,2 +98,2 @@ Copyright (c) 2015 Jon Schlinkert

_This file was generated by [verb](https://github.com/assemble/verb) on January 26, 2015._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 01, 2015._
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc