Deep-search objects for keys in JavaScript objects. Keys can be searched by providing an array of keys, or using a dot-notiation.
created at Jan. 22, 2015, 3:04 p.m.
Check if something is a Node.js stream
created at Jan. 18, 2015, 6:55 p.m.
Lightweight and simple JS date formatting and parsing
created at Jan. 9, 2015, 3:08 a.m.
Converts an object literal with deeply nested nodes to a simple key/value object
created at Dec. 29, 2014, 3:09 p.m.
Object -> [[key0, value0], [key1, value1]...]
created at Dec. 12, 2014, 11:37 p.m.
Get the first element or first n elements of an array.
created at Dec. 12, 2014, 11:06 a.m.
Left pad a string with zeros or a specified string. Fastest implementation.
created at Nov. 30, 2014, 7:21 p.m.
some best practices for JS modules
created at Oct. 15, 2014, 1:25 p.m.
Map object keys and values into a new object
created at Oct. 12, 2014, 11:42 a.m.
Use property paths (`a.b.c`) get a nested value from an object.
created at Oct. 7, 2014, 8:51 p.m.
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.
Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
created at Sept. 26, 2014, 1:59 a.m.
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.
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.
Return the last element in an array. Faster than `.slice`
created at June 28, 2014, 11:50 a.m.
An implementation of PHP's strip_tags in Typescript.
created at June 28, 2014, 1:36 a.m.