deep-bind in parro-it/awesome-micro-npm-packages

Bind a context to all functions in an object, including deeply nested functions.

updated at April 12, 2021, 10:21 p.m.

JavaScript

3 +0

8 +0

2 +0

GitHub
in-array in parro-it/awesome-micro-npm-packages

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

updated at April 12, 2021, 10:36 p.m.

JavaScript

3 +0

16 +0

1 +0

GitHub
normalize-pkg in parro-it/awesome-micro-npm-packages

Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.

updated at May 15, 2021, 1 p.m.

JavaScript

3 +0

18 +0

2 +0

GitHub
array-first in parro-it/awesome-micro-npm-packages

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

13 +0

GitHub
pad-left in parro-it/awesome-micro-npm-packages

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
has-value in parro-it/awesome-micro-npm-packages

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

updated at Jan. 2, 2023, 3:58 p.m.

JavaScript

4 +0

27 +0

7 +0

GitHub
arr-diff in parro-it/awesome-micro-npm-packages

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

updated at July 23, 2023, 6:20 p.m.

JavaScript

4 +0

44 +0

18 +0

GitHub
time-stamp in parro-it/awesome-micro-npm-packages, thoughtspile/awesome-tiny-js

Get a formatted timestamp. Used in gulp, assemble, generate, and many others.

updated at Sept. 5, 2023, 9:32 p.m.

JavaScript

6 +0

112 +0

18 +0

GitHub
arr-flatten in parro-it/awesome-micro-npm-packages

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

updated at Oct. 27, 2023, 8:09 a.m.

JavaScript

6 +0

59 +0

16 +0

GitHub
array-last in parro-it/awesome-micro-npm-packages

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

updated at Jan. 5, 2024, 2:04 p.m.

JavaScript

4 +0

35 +0

14 +0

GitHub
set-value in parro-it/awesome-micro-npm-packages

Set nested properties on an object using dot-notation.

updated at March 8, 2024, 10 a.m.

JavaScript

9 +0

268 +0

42 +0

GitHub
is-windows in bcoe/awesome-cross-platform-nodejs

Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)

updated at March 22, 2024, 6:31 a.m.

JavaScript

5 +0

50 +0

13 +0

GitHub
gulp-htmlmin in davidsonfellipe/awesome-wpo, alferov/awesome-gulp

Minify HTML

updated at April 24, 2024, 7:27 a.m.

HTML

14 +0

727 +0

58 +0

GitHub
is-number in parro-it/awesome-micro-npm-packages

JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.

updated at April 27, 2024, 4:35 p.m.

JavaScript

8 +0

251 +0

48 +0

GitHub
get-value in parro-it/awesome-micro-npm-packages

Use property paths (`a.b.c`) get a nested value from an object.

updated at May 8, 2024, 8:06 p.m.

JavaScript

8 +0

243 +1

26 +0

GitHub