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
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,011 +3

62 +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
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
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
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
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
striptags by ericnorris

An implementation of PHP's strip_tags in Typescript.

created at June 28, 2014, 1:36 a.m.

TypeScript

10 +0

489 +1

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

251 +0

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

242 +0

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

187 +0

41 +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,530 +0

95 +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
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-first by jonschlinkert

Get the first element or first n elements of an array.

created at Dec. 12, 2014, 11:06 a.m.

JavaScript

3 +0

11 +0

13 +0

GitHub
object-pairs by eush77

Object -> [[key0, value0], [key1, value1]...]

created at Dec. 12, 2014, 11:37 p.m.

JavaScript

2 +0

2 +0

0 +0

GitHub