array-first by jonschlinkert

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

updated at Dec. 26, 2021, 4:08 a.m.

JavaScript

3 +0

11 +0

14 +0

GitHub
swap-array by michaelzoidl

Swaps the index / position of an array

updated at Jan. 6, 2022, 3:49 a.m.

JavaScript

2 +0

7 +0

4 +0

GitHub
mirrarray by johnwquarles

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

updated at Jan. 8, 2022, 2:10 p.m.

JavaScript

2 +0

5 +0

2 +0

GitHub
array-range by mattdesl

creates a new array with given range

updated at April 18, 2022, 7:31 p.m.

JavaScript

4 +0

25 +0

6 +0

GitHub
to-constant-case by ianstormtaylor

Convert a string to a constant case.

updated at May 22, 2022, 1:26 a.m.

JavaScript

3 +0

4 +0

3 +0

GitHub
node-stream-spigot by brycebaril

A streams2 Readable stream generator, useful for testing.

updated at July 19, 2022, 7:42 a.m.

JavaScript

2 +0

15 +0

1 +0

GitHub
sorted-object by domenic

Returns a copy of an object with its keys sorted

updated at July 29, 2022, 5:05 a.m.

JavaScript

3 +0

35 +0

4 +0

GitHub
get-media-size by bfred-it

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

updated at Sept. 12, 2022, 10:02 a.m.

JavaScript

3 +0

12 +0

0 +0

GitHub
to-dot-case by ianstormtaylor

Convert a string to a dot case.

updated at Nov. 22, 2022, 6:22 p.m.

JavaScript

3 +0

5 +0

0 +0

GitHub
pad-left by jonschlinkert

Left pad a string with zeros or a specified string. Fastest implementation.

updated at Dec. 6, 2022, 1:07 a.m.

JavaScript

3 +0

44 +0

8 +0

GitHub
document-ready by bendrucker

Document ready listener for modern browsers

updated at Jan. 27, 2023, 12:39 p.m.

JavaScript

3 +0

59 +0

3 +0

GitHub
rtrim by sergejmueller

Strip whitespace - or other characters - from the end of a string

updated at Jan. 28, 2023, 7:26 a.m.

JavaScript

1 +0

0 +0

2 +0

GitHub
dedupe by seriousManual

easy deduplication of array values

updated at Feb. 9, 2023, 3:37 p.m.

TypeScript

2 +0

24 +0

7 +0

GitHub
to-snake-case by ianstormtaylor

Convert a string to a snake case.

updated at Feb. 15, 2023, 9:47 p.m.

JavaScript

3 +0

26 +0

2 +0

GitHub
help-version by eush77

Easily handle --help and --version arguments in your CLI application

updated at Feb. 17, 2023, 11:32 a.m.

JavaScript

2 +0

5 +0

0 +0

GitHub
array.chunk by zhiyelee

Split array/TypedArray to chunks of given size

updated at March 8, 2023, 4:32 a.m.

JavaScript

1 +0

11 +0

0 +0

GitHub
fun-gcd by zubayerhimel

Find the Greatest Common Divisor using Euclidean Algorithm

updated at March 9, 2023, 1:40 a.m.

JavaScript

1 +0

1 +0

0 +0

GitHub
slice.js by hustcc

milky way nano library to enhance String.substring / Array.slice with python slice style by Proxy.

updated at March 23, 2023, 9:07 p.m.

JavaScript

4 +0

34 +0

1 +0

GitHub
akamai-time-reference by jucrouzet

Get a time reference using Akamai's time reference service

updated at April 1, 2023, 3:06 a.m.

JavaScript

2 +0

3 +0

1 +0

GitHub
compose-tiny by hipstersmoothie

A very tiny and fast compose function.

updated at April 3, 2023, 1:32 p.m.

JavaScript

3 +0

46 +0

2 +0

GitHub