Skip to content

nehalkhanm/IsPalindrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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"));

About

Check if the given string is a palindrome or not

Resources

Stars

Watchers

Forks

Packages

No packages published