Javascript Toolbox
Check that a variable is defined and not null.
List the content of a directory synchronously and returns each files as an array.
Convert an array to a map using the provided keyFn(item) and valueFn(item) functions.
Returns the minimal/maximal item in an array, according to the provided compareFn