Pad numbers with zeros. Automatically pad the number of digits based on the length of the array, or explicitly pass in the number of digits to use.
MIT License
No README available, please check again later.
Get the number of minutes for an hour, day, week and the elapsed minutes for the current day.
JavaScript utils for working with arrays.
Add up all of the numbers in an array of numbers. Works when non-numbers are present as well.
Right pad a string with zeros or a specified string. Fastest implementation.
Trim leading lines from a string when they are 100% whitespace or empty. Indentation is left unha...
34 non-character code points (labeled <not a character>), that are set aside and guaranteed to ne...
Convert roman numerals to arabic numbers (useful for books, outlines, documentation, slide decks,...
Right pad the keys of an object.
Get the nth root of a number.
Fill an array to the given length by repeating its elements. This is a very fast implementation.
Convert a number to a string with n leading zeroes.
Returns true if an answer to a prompt is not undefined, null, an empty object, empty array, or a ...
Right pad the values of a given property for each object in an array. Useful for creating text co...
Count the lines in a string.
Get the even numbered items from an array.