1.0.2 • Published 2 years ago

elba-palindrome-detector v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

LISEZMOI

Part of my Vim practice. I added the palindrome method to the JS String object so that you can call it like so:

>"racecar".palindrome()
>true

When the string contains punctuations, the palindrome() method will look only at the letters.

Folders and Tests

The .js files that are inside folders have mocha tests.

Before running those tests, ensure you have Mocha in your system:

npm install --global mocha