programming-utils
v1.0.5
Published
This project provides several utility functions for common string and number operations. These functions are:
Downloads
2
Readme
String and Number Utility Functions
This project provides several utility functions for common string and number operations. These functions are:
isPalindrome
isAnagram
isPangram
findLongestWord
countVowels
isArmstrong
removeDuplicates
capitalizeWords
reverseString
formatCurrency
calculateFactorial
isPrime
shuffleArray
generateRandomString
debounce
deepClone
flattenArray
groupBy
mergeObjects
range
sleep
formatDate
daysBetweenDates
formatDate
Installation
To use these functions, install the package from npm:
npm install programming-utils
Example:
const { isPalindrome } = require('programming-utils');
console.log(isPalindrome('racecar')); // true
console.log(isPalindrome('hello')); // false