nanoid by ai

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

updated at Nov. 16, 2024, 7:19 p.m.

JavaScript

157 +0

24,657 +38

794 +2

GitHub
pretty-ms by sindresorhus

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

updated at Nov. 15, 2024, 9:38 p.m.

JavaScript

11 +0

1,077 +3

65 +0

GitHub
node-tmp by raszi

Temporary file and directory creator for node.js

updated at Nov. 15, 2024, 5:52 p.m.

JavaScript

7 +0

740 +3

93 +0

GitHub
node-semver by npm

The semver parser for node (the one npm uses)

updated at Nov. 15, 2024, 8:09 a.m.

JavaScript

103 +0

5,099 +2

492 +0

GitHub
is-odd by i-voted-for-trump

I created this in 2014, the year I learned how to program. All of the downloads are from an old version of https://github.com/micromatch/micromatch. I've done a few other things since: https://github.com/jonschlinkert.

updated at Nov. 13, 2024, 10:49 p.m.

JavaScript

5 +0

326 +2

73 +0

GitHub
is-number by jonschlinkert

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 Nov. 13, 2024, 10:48 p.m.

JavaScript

9 +0

260 +0

50 +0

GitHub
pify by sindresorhus

Promisify a callback-style function

updated at Nov. 12, 2024, 10:23 a.m.

JavaScript

15 +0

1,507 +1

67 +0

GitHub
deep-object-diff by mattphillips

Deep diffs two objects, including nested structures of arrays and objects, and returns the difference. ❄️

updated at Nov. 12, 2024, 1:08 a.m.

JavaScript

11 +0

1,063 +1

89 +0

GitHub
is-even by i-voted-for-trump

I created this in 2014, when I was learning how to program.

updated at Nov. 11, 2024, 7:13 p.m.

JavaScript

5 +0

219 +1

11 +0

GitHub
throttle-debounce by niksy

Throttle and debounce functions.

updated at Nov. 11, 2024, 2:33 a.m.

JavaScript

5 +0

1,030 +1

107 +0

GitHub
compose-function by stoeffel

Function composition

updated at Nov. 9, 2024, 8:30 p.m.

JavaScript

5 +0

56 +0

3 +0

GitHub
username by sindresorhus

Get the username of the current user

updated at Nov. 7, 2024, 7:47 p.m.

JavaScript

6 +0

142 +0

14 +0

GitHub
JSONStream by dominictarr

rawStream.pipe(JSONStream.parse()).pipe(streamOfObjects)

updated at Nov. 7, 2024, 8:04 a.m.

JavaScript

36 +0

1,917 +0

165 +0

GitHub
pump by mafintosh

pipe streams together and close all of them if one of them closes

updated at Nov. 7, 2024, 6:45 a.m.

JavaScript

7 +0

908 +0

59 +0

GitHub
stringify-object by yeoman

Stringify an object/array like JSON.stringify just without all the double-quotes

updated at Nov. 2, 2024, 2:03 a.m.

JavaScript

18 +0

309 +0

47 +0

GitHub
arr-flatten by jonschlinkert

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

updated at Nov. 1, 2024, 11:12 p.m.

JavaScript

6 +0

60 +0

16 +0

GitHub
arr-diff by jonschlinkert

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

updated at Nov. 1, 2024, 11:12 p.m.

JavaScript

4 +0

46 +0

18 +0

GitHub
sleep-promise by brummelte

Resolves a promise after a specified delay.

updated at Nov. 1, 2024, 6:25 p.m.

JavaScript

2 +0

86 +0

9 +0

GitHub
strip-ansi by chalk

Strip ANSI escape codes from a string

updated at Oct. 31, 2024, 2:45 p.m.

JavaScript

12 +0

398 +0

37 +0

GitHub
through2 by rvagg

Tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise

updated at Oct. 30, 2024, 6:12 a.m.

JavaScript

21 +0

1,901 +0

106 +0

GitHub