Convert a string to a constant case.
created at Sept. 19, 2013, 2:13 a.m.
Convert a string to a capital case.
created at Sept. 19, 2013, 12:37 a.m.
Convert a string to a camel case.
created at Sept. 19, 2013, 12:16 a.m.
Left pad a string with zeros or a specified string. Fastest implementation.
created at Nov. 30, 2014, 7:21 p.m.
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
created at Jan. 24, 2015, 10:57 a.m.
Split array/TypedArray to chunks of given size
created at Jan. 6, 2016, 4:29 a.m.
NPM module for creating a keymirror object from an array of strings
created at Sept. 5, 2017, 11:47 p.m.
Swaps the index / position of an array
created at April 20, 2016, 6:22 a.m.
Efficiently remove an element from an unordered array without doing a splice
created at Dec. 30, 2015, 2:31 p.m.
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.
Returns an array filled with the specified input
created at Nov. 4, 2015, 12:20 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.
Return the last element in an array. Faster than `.slice`
created at June 28, 2014, 11:50 a.m.
Get the first element or first n elements of an array.
created at Dec. 12, 2014, 11:06 a.m.