mirrarray by johnwquarles

NPM module for creating a keymirror object from an array of strings

created at Sept. 5, 2017, 11:47 p.m.

JavaScript

2 +0

5 +0

2 +0

GitHub
swap-array by michaelzoidl

Swaps the index / position of an array

created at April 20, 2016, 6:22 a.m.

JavaScript

2 +0

7 +0

4 +0

GitHub
unordered-array-remove by mafintosh

Efficiently remove an element from an unordered array without doing a splice

created at Dec. 30, 2015, 2:31 p.m.

JavaScript

4 +0

117 +0

8 +0

GitHub
in-array by jonschlinkert

Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.

created at June 26, 2014, 10:48 a.m.

JavaScript

3 +0

16 +0

1 +0

GitHub
map-array by parro-it

Map object keys and values into an array.

created at Feb. 8, 2016, 11:10 p.m.

JavaScript

2 +0

4 +0

0 +0

GitHub
filled-array by sindresorhus

Returns an array filled with the specified input

created at Nov. 4, 2015, 12:20 p.m.

JavaScript

7 +0

43 +0

5 +0

GitHub
arr-diff by jonschlinkert

Returns an array with only the unique values from all given arrays using strict equality for comparisons.

created at Sept. 26, 2014, 6:39 a.m.

JavaScript

4 +0

44 +0

18 +0

GitHub
array-range by mattdesl

creates a new array with given range

created at Nov. 9, 2014, 6:23 p.m.

JavaScript

4 +0

25 +0

6 +0

GitHub
arr-flatten by jonschlinkert

Recursively flatten an array or arrays. This is the fastest implementation of array flatten.

created at Sept. 26, 2014, 1:59 a.m.

JavaScript

6 +0

59 +0

16 +0

GitHub
array-last by jonschlinkert

Return the last element in an array. Faster than `.slice`

created at June 28, 2014, 11:50 a.m.

JavaScript

4 +0

35 +0

14 +0

GitHub
array-first by jonschlinkert

Get the first element or first n elements of an array.

created at Dec. 12, 2014, 11:06 a.m.

JavaScript

3 +0

11 +0

13 +0

GitHub
is-sorted by dcousens

A small module to check if an Array is sorted

created at May 18, 2015, 3:43 a.m.

JavaScript

3 +0

22 +0

31 +0

GitHub
compose-tiny by hipstersmoothie

A very tiny and fast compose function.

created at Sept. 28, 2018, 6:30 a.m.

JavaScript

3 +0

46 +0

2 +0

GitHub
node-du by rvagg

A simple JavaScript implementation of `du -sb`

created at Dec. 13, 2012, 10:46 a.m.

JavaScript

3 +0

29 +0

11 +0

GitHub
get-media-size by bfred-it

Get the real size of an <img>, <video>, or <canvas> in the browser.

created at Aug. 17, 2015, 12:10 a.m.

JavaScript

3 +0

12 +0

0 +0

GitHub
node-deep-equal by inspect-js

node's assert.deepEqual algorithm

created at Feb. 11, 2012, 5:41 a.m.

JavaScript

18 +0

761 +0

111 +0

GitHub
nanoid by ai

A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript

created at Aug. 5, 2017, 5:24 a.m.

JavaScript

159 -1

23,435 +189

762 +2

GitHub
node-merge-objects by shevaroller

Merge two objects and concatenate arrays that are values of the same object key.

created at Sept. 7, 2015, 4:52 a.m.

JavaScript

2 +0

2 +0

1 +0

GitHub
uuid by uuidjs

Generate RFC-compliant UUIDs in JavaScript

created at Dec. 28, 2010, 2:59 p.m.

JavaScript

138 +0

14,233 +19

881 +1

GitHub
my-prime by jinnatul

Finds prime numbers using the Sieve of Eratosthenes algorithm.

created at Oct. 1, 2020, 7:23 p.m.

JavaScript

2 +0

2 +0

0 +0

GitHub