pump by mafintosh

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

updated at May 15, 2024, 5:26 p.m.

JavaScript

7 +0

902 +0

57 +0

GitHub
once by isaacs

Run a function exactly one time

updated at May 15, 2024, 9:29 a.m.

JavaScript

8 +0

221 -1

29 +0

GitHub
node-tmp by raszi

Temporary file and directory creator for node.js

updated at May 15, 2024, 9:18 a.m.

JavaScript

7 +0

730 -1

92 +0

GitHub
decamelize by sindresorhus

Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow

updated at May 15, 2024, 9:14 a.m.

JavaScript

9 +0

234 -1

25 +0

GitHub
png-to-ico by steambap

convert png to ico format

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

JavaScript

4 +0

157 +1

21 +0

GitHub
set-value by jonschlinkert

Set nested properties on an object using dot-notation.

updated at May 14, 2024, 4:58 p.m.

JavaScript

9 +0

269 +1

42 +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 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
copee by styfle

📄 Copy text from browser to clipboard...natively! < 1kB

updated at May 2, 2024, 12:18 a.m.

TypeScript

4 +0

143 +0

5 +0

GitHub