Skip to content

Commit

Permalink
update devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed Jun 20, 2017
1 parent 02b65f1 commit 69de3da
Show file tree
Hide file tree
Showing 4 changed files with 1,349 additions and 17 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Shinnosuke Watanabe
Copyright (c) 2016 - 2017 Shinnosuke Watanabe

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[![Bower version](https://img.shields.io/bower/v/array-has-duplicates.svg)](https://github.com/shinnn/array-has-duplicates/releases)
[![Build Status](https://travis-ci.org/shinnn/array-has-duplicates.svg?branch=master)](https://travis-ci.org/shinnn/array-has-duplicates)
[![Coverage Status](https://img.shields.io/coveralls/shinnn/array-has-duplicates.svg)](https://coveralls.io/r/shinnn/array-has-duplicates)
[![devDependency Status](https://david-dm.org/shinnn/array-has-duplicates/dev-status.svg)](https://david-dm.org/shinnn/array-has-duplicates#info=devDependencies)

Check if an [array](http://www.ecma-international.org/ecma-262/5.1/#sec-15.4) includes duplicated values or not

Expand All @@ -15,20 +14,12 @@ arrayHasDuplicates([1, 2, 3, 4, 5, 1]); //=> true

## Installation

### Package managers

#### [npm](https://www.npmjs.com/)
### [npm](https://www.npmjs.com/)

```
npm install array-has-duplicates
```

#### [bower](http://bower.io/)

```
bower install array-has-duplicates
```

### Standalone

[Download the script file directly.](https://raw.githubusercontent.com/shinnn/array-has-duplicates/master/browser.js)
Expand All @@ -40,7 +31,7 @@ bower install array-has-duplicates
*array*: `Array`
Return: `Boolean`

It returns `true` if the array includes at least one pair of duplicated values, otherwise returns `false`.
It returns `true` if the array includes at least one pair of duplicated values, otherwise returns `false`.

*"Duplicated"* means a value is [strictly equal (`===`)][strictequal] to the other value.

Expand All @@ -57,7 +48,7 @@ arrayHasDuplicates([, , , undefined]); //=> false

## License

Copyright (c) 2016 [Shinnosuke Watanabe](https://github.com/shinnn)
Copyright (c) 2016 - 2017 [Shinnosuke Watanabe](https://github.com/shinnn)

Licensed under [the MIT License](./LICENSE).

Expand Down
Loading

0 comments on commit 69de3da

Please sign in to comment.