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 May 14, 2024, 1:50 a.m.

JavaScript

8 +0

252 +1

48 +0

GitHub
map-obj by sindresorhus

Map object keys and values into a new object

updated at May 13, 2024, 1:51 p.m.

JavaScript

6 +0

189 +1

41 +0

GitHub
pretty-ms by sindresorhus

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

updated at May 13, 2024, 8:15 a.m.

JavaScript

11 +0

1,014 +1

62 +0

GitHub
get-value by jonschlinkert

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 +0

26 +0

GitHub
not-defined by fibo

checks if foo is not defined, i.e. undefined, null, an empty string, array, object or NaN

updated at May 8, 2024, 11:17 a.m.

JavaScript

3 +0

5 +0

3 +0

GitHub
module-best-practices by mattdesl

books some best practices for JS modules

updated at May 8, 2024, 4:54 a.m.

JavaScript

49 +0

1,532 +0

95 +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 May 7, 2024, 7:52 p.m.

JavaScript

5 +0

293 +0

73 +0

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

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

updated at May 7, 2024, 7:51 p.m.

JavaScript

5 +0

200 +0

10 +0

GitHub
is-stream by sindresorhus

Check if something is a Node.js stream

updated at May 4, 2024, 6:37 p.m.

JavaScript

9 +0

109 +0

20 +0

GitHub
abbrev-js by npm

Like ruby's Abbrev module

updated at May 3, 2024, 8:53 p.m.

JavaScript

14 +0

164 +0

28 +0

GitHub
is-fqdn by parro-it

Check if a string represent a fully qualified domain name

updated at May 2, 2024, 11:19 p.m.

JavaScript

2 +0

21 +0

1 +0

GitHub
object-values by sindresorhus

Get the values of an object

updated at May 2, 2024, 5:45 p.m.

JavaScript

6 +0

27 +0

5 +0

GitHub
twas by vutran

🕰 Tiny (280B) relative time string function (eg: "3 seconds ago")

updated at May 2, 2024, 11:58 a.m.

JavaScript

3 +0

250 +0

10 +0

GitHub
JSONStream by dominictarr

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

updated at May 1, 2024, 2:26 a.m.

JavaScript

36 +0

1,903 +0

180 +0

GitHub
username by sindresorhus

Get the username of the current user

updated at April 27, 2024, 6:31 a.m.

JavaScript

6 +0

141 +0

17 +0

GitHub
syncthrough by mcollina

Transform your data as it pass by, synchronously.

updated at April 25, 2024, 5:57 a.m.

JavaScript

8 +0

100 +0

3 +0

GitHub
through2-filter by brycebaril

A through2 wrapper to create an Array.prototype.filter analog for streams

updated at April 20, 2024, 5:47 p.m.

JavaScript

2 +0

35 +0

4 +0

GitHub
through2-map by brycebaril

A through2 to create an Array.prototype.map analog for streams.

updated at April 20, 2024, 5:47 p.m.

JavaScript

3 +0

70 +0

2 +0

GitHub
group-array by doowb

Group array of objects into lists.

updated at April 18, 2024, 3:03 a.m.

JavaScript

3 +0

57 +0

14 +0

GitHub
quetie by TomerAberbach

🎀 Just the cutest and tiniest queue/deque implementation!

updated at April 13, 2024, 11:52 p.m.

JavaScript

3 +0

110 +0

2 +0

GitHub