elba-palindrome-detector
v1.0.2
Published
Elba is a palindrome detector. It accepts string and returns a true/false whether that string is a palindrome.
Downloads
2
Readme
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