isPalindrome
A very lightweight(1 line of code) function that checkes wether a string is or is not a palindrome.
Installation
$ npm install isPalindrome --save
Usage
console.log(isPalindrome('Are we not pure? “No sir!” Panama’s moody Noriega brags. “It is garbage!” Irony dooms a man; a prisoner up to new era.'));
//True
console.log(isPalindrome('What am I doing?'));
//False