Is-Palindrome
To Check if the given string is a palindrome
Installation
To install the package globally
npm i -g @nehalk/is-palindrome-js
To install the package in your project and add it as a dependency to package.json file
npm i --save @nehalk/is-palindrome-js
To install the package in your project and add it as a development dependency to package.json file
npm i --save-dev @nehalk/is-palindrome-js
Usage
You can use the package in your JavaScript code as shown.
// Load the package
const is-palindrome = require('@nehalk/is-palindrome-js');
console.log(is-palindrome.isPalindrome("noon"));