pad-left by jonschlinkert

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

created at Nov. 30, 2014, 7:21 p.m.

JavaScript

3 +0

44 +0

8 +0

GitHub
array-range by mattdesl

creates a new array with given range

created at Nov. 9, 2014, 6:23 p.m.

JavaScript

4 +0

25 +0

6 +0

GitHub
module-best-practices by mattdesl

books some best practices for JS modules

created at Oct. 15, 2014, 1:25 p.m.

JavaScript

49 +0

1,532 +0

95 +0

GitHub
map-obj by sindresorhus

Map object keys and values into a new object

created at Oct. 12, 2014, 11:42 a.m.

JavaScript

6 +0

189 +1

41 +0

GitHub
get-value by jonschlinkert

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

created at Oct. 7, 2014, 8:51 p.m.

JavaScript

8 +0

243 +0

26 +0

GitHub
arr-diff by jonschlinkert

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

created at Sept. 26, 2014, 6:39 a.m.

JavaScript

4 +0

44 +0

18 +0

GitHub
arr-flatten by jonschlinkert

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

created at Sept. 26, 2014, 1:59 a.m.

JavaScript

6 +0

59 +0

16 +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.

created at Sept. 22, 2014, 3:40 a.m.

JavaScript

8 +0

252 +1

48 +0

GitHub
has-value by jonschlinkert

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

created at Sept. 22, 2014, 1:48 a.m.

JavaScript

4 +0

27 +0

7 +0

GitHub
array-last by jonschlinkert

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

created at June 28, 2014, 11:50 a.m.

JavaScript

4 +0

35 +0

14 +0

GitHub
in-array by jonschlinkert

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

created at June 26, 2014, 10:48 a.m.

JavaScript

3 +0

16 +0

1 +0

GitHub
just-pluck by jarofghosts

pluck without the madness

created at June 18, 2014, 8:17 p.m.

JavaScript

2 +0

11 +0

2 +0

GitHub
username by sindresorhus

Get the username of the current user

created at March 30, 2014, 6:12 p.m.

JavaScript

6 +0

141 +0

17 +0

GitHub
zipmap by landau

Returns a map with the keys mapped to the corresponding vals.

created at March 26, 2014, 2:22 a.m.

JavaScript

3 +0

4 +0

1 +0

GitHub
normalize-pkg by jonschlinkert

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

created at March 25, 2014, 6:08 a.m.

JavaScript

3 +0

18 +0

2 +0

GitHub
pretty-ms by sindresorhus

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

created at March 20, 2014, 2:36 p.m.

JavaScript

11 +0

1,014 +1

62 +0

GitHub
sorted-object by domenic

Returns a copy of an object with its keys sorted

created at Feb. 17, 2014, 8:10 p.m.

JavaScript

3 +0

35 +0

4 +0

GitHub
object-values by sindresorhus

Get the values of an object

created at Feb. 6, 2014, 5:31 p.m.

JavaScript

6 +0

27 +0

5 +0

GitHub
is-generator by blakeembrey

Check whether a given value is a generator function

created at Feb. 5, 2014, 5:11 p.m.

JavaScript

3 +0

15 +0

5 +0

GitHub
file-size by nijikokun

📂 Lightweight filesize to human-readable / proportions w/o dependencies for node.js & browsers.

created at Dec. 9, 2013, 8:36 a.m.

JavaScript

9 +0

232 +0

11 +0

GitHub