Releases: TogaTech/helpful.js
Releases · TogaTech/helpful.js
Helpful.js v1.0.7
This release includes the following methods:
shuffleArray
- Shuffles an array, returning another array with the same values but in a different orderreverseArray
- Reverses an array by creating a new array with the same values in the opposite orderpad
- Pads a string by adding characters on both sides until the string reaches a certain sizepadStart
- Pads a string by adding characters to the start until the string reaches a certain sizepadEnd
- Pads a string by adding characters to the end until the string reach a certain sizechunkArray
- Splits an array into n-sized chunksaverage
- Finds the average of an array
Helpful.js v1.0.6
This release includes the following methods:
capitalize
- Capitalizes the first letter of every wordmergeArrays
- Merges the second array into the first one (skip duplicated values)
Additionally, the license has been updated to GNU Affero General Public License v3.0.
Helpful.js v1.0.5
This release fixes an issue in the documentation on NPM.
Helpful.js v1.0.4
This release includes the following methods:
differenceOfArrays
- Finds the difference between two arrays (any identical elements in the second array are removed from the first array)sumOfArrays
- Finds the sum of two arrays (the two arrays are combined)
Helpful.js v1.0.3
This release ensures that the @togatech/helpful-js
package is public on NPM.
Helpful.js v1.0.2
This release fixes an issue with conflicts on the NPM package name.
Helpful.js v1.0.1
This release includes the following methods:
stringToArray
- Converts a string into an array of individual charactersduplicateArray
- Duplicates an array by creating a new array and transferring all the elements from the first arrayhex.convertFromString
- Converts a string to hexadecimalhex.convertToString
- Converts hexadecimal to a stringhex.convertFromBytes
- Converts a bytes array to hexadecimalhex.convertToBytes
- Converts hexadecimal to a bytes array
Information, contributing guidelines, documentation template, test cases template, issue template, pull request template, and CI tests have been added in the first release of helpful.js
.