Skip to content

Helpful.js v1.0.7

Latest
Compare
Choose a tag to compare
@CMEONE CMEONE released this 28 Oct 15:30
· 34 commits to main since this release

This release includes the following methods:

  • shuffleArray - Shuffles an array, returning another array with the same values but in a different order
  • reverseArray - Reverses an array by creating a new array with the same values in the opposite order
  • pad - Pads a string by adding characters on both sides until the string reaches a certain size
  • padStart - Pads a string by adding characters to the start until the string reaches a certain size
  • padEnd - Pads a string by adding characters to the end until the string reach a certain size
  • chunkArray - Splits an array into n-sized chunks
  • average - Finds the average of an array