programming-utils
v1.0.5
Published
This project provides several utility functions for common string and number operations. These functions are:
Readme
String and Number Utility Functions
This project provides several utility functions for common string and number operations. These functions are:
isPalindromeisAnagramisPangramfindLongestWordcountVowelsisArmstrongremoveDuplicatescapitalizeWordsreverseStringformatCurrencycalculateFactorialisPrimeshuffleArraygenerateRandomStringdebouncedeepCloneflattenArraygroupBymergeObjectsrangesleepformatDatedaysBetweenDatesformatDate
Installation
To use these functions, install the package from npm:
npm install programming-utilsExample:
const { isPalindrome } = require('programming-utils');
console.log(isPalindrome('racecar')); // true
console.log(isPalindrome('hello')); // false