* chore: Switch to Node 20 + Vitest
* chore: migrate to vitest mock functions
* chore: code style (switch to prettier)
* test: re-enable long-running test
Seems the switch to Node 20 and Vitest has vastly improved the code's and / or the test's runtime!
see #1193
* chore: code style
* chore: fix failing tests
* Updated Documentation in README.md
* Update contribution guidelines to state usage of Prettier
* fix: set prettier printWidth back to 80
* chore: apply updated code style automatically
* fix: set prettier line endings to lf again
* chore: apply updated code style automatically
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
* pref: optimize the algo via reduce & replace method
* feat: add TypeError for invalid types
* test: upgrade test case for invalid types
* docs: add js doc
* test: modify the case-sensitive test case
* pref: Optimize algo & add case-insensitive mode
* style: format with standard style
* docs: fix the js doc
* docs: rename function name & add comments
* feat: add chackAnagramViaMap function
* test: add test case for checkAnagramViaMap func
* fix: remove **Via** from functions name
* style: fix alignment of js doc
* chore: grammar fix
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* add test cases for checkAnagram function to cover additional inputs and edge cases
* adjust spacing between tests to be more consistent with other files
* update CheckAnagram to return boolean value instead of string
* add a reference link and definition of Anagram to CheckAnagram documentation
* Add prettier config
* test: add test to check for absolute function
* chore: es5 to es6
* test: add test to check mean function
* test: add test for sum of digit
* test: add test for factorial
* test: add test for fibonnaci
* test: add test for find HCF
* test: add test for lcm
* test: add gridget test
* test: add test for mean square error
* test: add test for modular binary exponentiation
* test: add tests for palindrome
* test: add test for pascals triangle
* test: add tests for polynomial
* test: add tests for prime check
* test: add tests for reverse polish notation
* test: add tests for sieve of eratosthenes
* test: add tests for pi estimation monte carlo method
* chore: move tests to test folder
* chore: fix standardjs errors