jonschlinkert / Array Unique
Licence: mit
Return an array free of duplicate values. Very fast implementation.
Stars: ✭ 51
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Array Unique
Laravel Helpers
An extensive set of Laravel framework helper functions and collection macros.
Stars: ✭ 407 (+698.04%)
Mutual labels: array
Leetcode
Provide all my solutions and explanations in Chinese for all the Leetcode coding problems.
Stars: ✭ 5,619 (+10917.65%)
Mutual labels: array
Algodeck
An Open-Source Collection of 200+ Algorithmic Flash Cards to Help you Preparing your Algorithm & Data Structure Interview 💯
Stars: ✭ 4,441 (+8607.84%)
Mutual labels: array
Deep Object Diff
Deep diffs two objects, including nested structures of arrays and objects, and returns the difference. ❄️
Stars: ✭ 515 (+909.8%)
Mutual labels: array
Pyopencl
OpenCL integration for Python, plus shiny features
Stars: ✭ 790 (+1449.02%)
Mutual labels: array
Hashmap
HashMap JavaScript class for Node.js and the browser. The keys can be anything and won't be stringified
Stars: ✭ 363 (+611.76%)
Mutual labels: array
Shallow Clone
Make a shallow clone of an object, array or primitive.
Stars: ✭ 23 (-54.9%)
Mutual labels: array
Netfabric.hyperlinq
High performance LINQ implementation with minimal heap allocations. Supports enumerables, async enumerables, arrays and Span<T>.
Stars: ✭ 479 (+839.22%)
Mutual labels: array
Android interviews
🚀Everything you need to know to find a android job. 算法 / 面试题 / Android 知识点 🔥🔥🔥 总结不易,你的 star 是我最大的动力!
Stars: ✭ 510 (+900%)
Mutual labels: array
Array First
Get the first element or first n elements of an array.
Stars: ✭ 6 (-88.24%)
Mutual labels: array
Negative Array
Negative array index support `array[-1]` using ES2015 Proxy
Stars: ✭ 420 (+723.53%)
Mutual labels: array
Cracking The Coding Interview
Solutions for Cracking the Coding Interview - 6th Edition
Stars: ✭ 35 (-31.37%)
Mutual labels: array
Loopy
A code generator for array-based code on CPUs and GPUs
Stars: ✭ 367 (+619.61%)
Mutual labels: array
Golang Combinations
Golang library which provide an algorithm to generate all combinations out of a given string array.
Stars: ✭ 51 (+0%)
Mutual labels: array
Generate Random Web V7.19.03
Projeto para um cliente, afim de automatizar a escolha de números, pois o mesmo é jogador de loterias e queria um sistema para gerar jogos prontos.
Stars: ✭ 19 (-62.75%)
Mutual labels: array
array-unique
Remove duplicate values from an array. Fastest ES5 implementation.
Install
Install with npm:
$ npm install --save array-unique
Usage
var unique = require('array-unique');
var arr = ['a', 'b', 'c', 'c'];
console.log(unique(arr)) //=> ['a', 'b', 'c']
console.log(arr) //=> ['a', 'b', 'c']
/* The above modifies the input array. To prevent that at a slight performance cost: */
var unique = require("array-unique").immutable;
var arr = ['a', 'b', 'c', 'c'];
console.log(unique(arr)) //=> ['a', 'b', 'c']
console.log(arr) //=> ['a', 'b', 'c', 'c']
About
Related projects
- arr-diff: Returns an array with only the unique values from the first array, by excluding all… more | homepage
- arr-flatten: Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | homepage
- arr-map: Faster, node.js focused alternative to JavaScript's native array map. | homepage
- arr-pluck: Retrieves the value of a specified property from all elements in the collection. | homepage
- arr-reduce: Fast array reduce that also loops over sparse elements. | homepage
- arr-union: Combines a list of arrays, returning a single array with unique values, using strict equality… more | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Building docs
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
$ npm install -g verb verb-generate-readme && verb
Running tests
Install dev dependencies:
$ npm install -d && npm test
Author
Jon Schlinkert
License
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.1.28, on July 31, 2016.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].