Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Latest commit

 

History

History
45 lines (25 loc) · 927 Bytes

README.md

File metadata and controls

45 lines (25 loc) · 927 Bytes

is-palindrome-string

Check if input string is palindrome.

npm license github-issues

travis-status stars forks

Features

Install

npm install --save is-palindrome-string

Usage

const isPalindrome = require('is-palindrome-string');

isPalindrome('12321');
//=> true

isPalindrome('fox');
//=> false

isPalindrome('madam');
//=> true

isPalindrome();
//=> TypeError: expects a string got undefined

Author

Prosen Ghosh prosenghosh25@gmail.com

License

  • MIT